Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009568/0.0009568, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009218/0.0009218, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8899/0.8899, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.455e-05, allocations: 2.312 kB / 273 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.002594/0.002608, allocations: 2.956 MB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009223/0.003531, allocations: 0.779 MB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.931e-05/0.00363, allocations: 7.938 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.003737, allocations: 51.5 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.003868, allocations: 107 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.004104, allocations: 119.7 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.004426, allocations: 422.1 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.004558, allocations: 83.62 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.004783, allocations: 247.4 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.004915, allocations: 115.7 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.004951, allocations: 40 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-05/0.005009, allocations: 47.98 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.104e-05/0.00505, allocations: 83.67 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.161e-05/0.005132, allocations: 119.8 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.005379, allocations: 279 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.00538, allocations: 0 / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.9e-07/0.005381, allocations: 0 / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.005384, allocations: 0 / 278.4 MB, free: 12.04 MB / 266.7 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.0006812/0.006065, allocations: 0.6488 MB / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.006096, allocations: 12.03 kB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.006234, allocations: 60.7 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.006509, allocations: 232.9 kB / 279.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.00653, allocations: 24.81 kB / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.00657, allocations: 24.38 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.006926, allocations: 296.8 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.006935, allocations: 192 / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.006954, allocations: 12.38 kB / 279.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.006963, allocations: 7.938 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.007127, allocations: 110.9 kB / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009662/0.008094, allocations: 1.084 MB / 280.9 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.00839, allocations: 170.8 kB / 281.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.008545, allocations: 107.5 kB / 281.2 MB, free: 9.098 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.008562, allocations: 4 kB / 281.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.008736, allocations: 195.1 kB / 281.4 MB, free: 8.859 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.362e-06/0.008737, allocations: 0 / 281.4 MB, free: 8.859 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007153/0.009452, allocations: 364 kB / 281.7 MB, free: 8.496 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.009509, allocations: 136.5 kB / 281.9 MB, free: 8.332 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.009671, allocations: 280.2 kB / 282.1 MB, free: 8.043 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.009689, allocations: 37.73 kB / 282.2 MB, free: 8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.454e-05/0.009773, allocations: 215.4 kB / 282.4 MB, free: 7.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.406e-05/0.009817, allocations: 79.31 kB / 282.5 MB, free: 7.703 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/0.009879, allocations: 51.36 kB / 282.5 MB, free: 7.645 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.009997, allocations: 0.504 MB / 283 MB, free: 7.129 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.162e-05/0.01006, allocations: 31.98 kB / 283 MB, free: 7.098 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.01017, allocations: 161.4 kB / 283.2 MB, free: 6.902 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.01031, allocations: 121.3 kB / 283.3 MB, free: 6.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01031, allocations: 4.031 kB / 283.3 MB, free: 6.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002445/0.01056, allocations: 209.7 kB / 283.5 MB, free: 6.551 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.01057, allocations: 8 kB / 283.5 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.01057, allocations: 0 / 283.5 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001976/0.01077, allocations: 75.56 kB / 283.6 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.528e-05/0.01085, allocations: 27.92 kB / 283.6 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.0122, allocations: 2.356 MB / 286 MB, free: 3.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.533e-05/0.0123, allocations: 31.77 kB / 286 MB, free: 3.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.01231, allocations: 8 kB / 286 MB, free: 3.926 MB / 266.7 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 9.056e-05/0.0124, allocations: 176.5 kB / 286.2 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.01243, allocations: 31.86 kB / 286.2 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.01246, allocations: 30.27 kB / 286.3 MB, free: 3.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01246, allocations: 7.984 kB / 286.3 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01246, allocations: 0 / 286.3 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01247, allocations: 3.938 kB / 286.3 MB, free: 3.668 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/0.01298, allocations: 0.668 MB / 286.9 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01298, allocations: 0 / 286.9 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.249e-05/0.01304, allocations: 19.98 kB / 287 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001497/0.01319, allocations: 75.7 kB / 287 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.0132, allocations: 8 kB / 287.1 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/0.01447, allocations: 2.368 MB / 289.4 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01447, allocations: 3.984 kB / 289.4 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.0148, allocations: 394.4 kB / 289.8 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.01486, allocations: 51.77 kB / 289.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.01488, allocations: 4 kB / 289.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.793e-05/0.01497, allocations: 19.98 kB / 289.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.01504, allocations: 27.94 kB / 289.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.01505, allocations: 11.94 kB / 289.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.681e-05/0.01515, allocations: 193.1 kB / 290.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01515, allocations: 4.172 kB / 290.1 MB, free: 15.63 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002659/0.01541, allocations: 99.78 kB / 290.2 MB, free: 15.54 MB / 282.7 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 8.177e-05/0.01549, allocations: 109.2 kB / 290.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003798/0.01587, allocations: 348.7 kB / 290.7 MB, free: 15.06 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.01588, allocations: 0 / 290.7 MB, free: 15.06 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.01609, allocations: 301.5 kB / 291 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.01632, allocations: 56.42 kB / 291 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008606/0.01718, allocations: 0.5565 MB / 291.6 MB, free: 14.1 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.965e-05/0.01723, allocations: 88.31 kB / 291.7 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.336e-05/0.01729, allocations: 22.28 kB / 291.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.01732, allocations: 20.5 kB / 291.7 MB, free: 13.96 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01732, allocations: 0 / 291.7 MB, free: 13.96 MB / 282.7 MB Notification: Performance of Templates: time 0.006013/0.02334, allocations: 4.845 MB / 296.5 MB, free: 9.203 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.636354716029018]