Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 81.11 kB / 20.68 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 145.7 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 173.4 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.083e-05, allocations: 2.281 kB / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004461/0.004492, allocations: 2.713 MB / 321.6 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.00609, allocations: 0.6973 MB / 322.3 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.006289, allocations: 8.438 kB / 322.4 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.0065, allocations: 52 kB / 322.4 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.006783, allocations: 104.8 kB / 322.5 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.007175, allocations: 114 kB / 322.6 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005333/0.007708, allocations: 419.9 kB / 323 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002514/0.007959, allocations: 81.45 kB / 323.1 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.008347, allocations: 234.5 kB / 323.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.008615, allocations: 121.7 kB / 323.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.475e-05/0.00869, allocations: 36.75 kB / 323.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.008796, allocations: 40.88 kB / 323.5 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.982e-05/0.008886, allocations: 75.31 kB / 323.6 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.009078, allocations: 122 kB / 323.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006686/0.009746, allocations: 447.6 kB / 324.2 MB, free: 344 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.009752, allocations: 5.312 kB / 324.2 MB, free: 340 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.009754, allocations: 0 / 324.2 MB, free: 340 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.009761, allocations: 0 / 324.2 MB, free: 340 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001346/0.01111, allocations: 0.5545 MB / 324.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.01115, allocations: 9.141 kB / 324.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.01127, allocations: 35.38 kB / 324.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006009/0.01187, allocations: 231.4 kB / 325 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.0119, allocations: 19.5 kB / 325 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.056e-05/0.01197, allocations: 24.59 kB / 325 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008697/0.01284, allocations: 339 kB / 325.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.01286, allocations: 0.7031 kB / 325.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.677e-05/0.01291, allocations: 14.81 kB / 325.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.01293, allocations: 10.16 kB / 325.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000648/0.01357, allocations: 201.2 kB / 325.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.01592, allocations: 0.985 MB / 326.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000755/0.01668, allocations: 198.4 kB / 326.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004286/0.01711, allocations: 132.3 kB / 326.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.01714, allocations: 6.125 kB / 326.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004604/0.0176, allocations: 216.1 kB / 327.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 2.124e-06/0.0176, allocations: 0 / 327.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002073/0.01968, allocations: 446.2 kB / 327.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.01982, allocations: 137.5 kB / 327.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004197/0.02024, allocations: 232.3 kB / 327.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.02029, allocations: 32.77 kB / 327.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.02051, allocations: 174.2 kB / 328.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.02062, allocations: 70.45 kB / 328.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.02075, allocations: 55.41 kB / 328.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.02099, allocations: 335.3 kB / 328.6 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.02123, allocations: 67.03 kB / 328.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.02157, allocations: 179.4 kB / 328.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/0.02205, allocations: 174 kB / 329 MB, free: 12.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.02205, allocations: 0 / 329 MB, free: 12.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008364/0.02289, allocations: 278.2 kB / 329.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.02291, allocations: 6.141 kB / 329.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.02292, allocations: 1.094 kB / 329.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005391/0.02346, allocations: 103.1 kB / 329.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.02368, allocations: 30.5 kB / 329.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/0.02724, allocations: 1.998 MB / 331.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.02759, allocations: 32.06 kB / 331.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.02762, allocations: 10.12 kB / 331.4 MB, free: 11.04 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,idealTriac.fire1,idealTriac.idealThyristor1.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor.off,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002653/0.02789, allocations: 153 kB / 331.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/0.02796, allocations: 22.39 kB / 331.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.018e-05/0.02804, allocations: 29.27 kB / 331.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.02804, allocations: 3.766 kB / 331.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.02805, allocations: 1 kB / 331.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.02806, allocations: 9.891 kB / 331.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.02958, allocations: 0.6533 MB / 332.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.02959, allocations: 1.062 kB / 332.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.02975, allocations: 18.48 kB / 332.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004017/0.03016, allocations: 89.17 kB / 332.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.03019, allocations: 10.94 kB / 332.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003239/0.03343, allocations: 1.992 MB / 334.4 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.03343, allocations: 0 / 334.4 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.03444, allocations: 450 kB / 334.8 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.0346, allocations: 45.5 kB / 334.9 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.03465, allocations: 12.06 kB / 334.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.03494, allocations: 22.22 kB / 334.9 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.03508, allocations: 30.44 kB / 334.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.03511, allocations: 13.11 kB / 335 MB, free: 8.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002487/0.03536, allocations: 165.3 kB / 335.1 MB, free: 8.219 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.03536, allocations: 1.281 kB / 335.1 MB, free: 8.219 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008182/0.03618, allocations: 96.03 kB / 335.2 MB, free: 8.195 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.pulseStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off,idealTriac.fire1) * Number of discrete states: 2 (idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001778/0.03635, allocations: 110.9 kB / 335.3 MB, free: 8.098 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007392/0.03709, allocations: 340.2 kB / 335.7 MB, free: 7.902 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.0371, allocations: 1.094 kB / 335.7 MB, free: 7.902 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004276/0.03752, allocations: 256.9 kB / 335.9 MB, free: 7.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.03794, allocations: 65.55 kB / 336 MB, free: 7.691 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.03912, allocations: 0.5533 MB / 336.5 MB, free: 7.336 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.03929, allocations: 156 kB / 336.7 MB, free: 7.254 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.366e-05/0.03938, allocations: 19.81 kB / 336.7 MB, free: 7.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.03943, allocations: 19.64 kB / 336.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.03943, allocations: 0 / 336.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of Templates: time 0.009801/0.04923, allocations: 4.529 MB / 341.2 MB, free: 4.797 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.411713391542435]