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.001911/0.001911, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00199/0.00199, allocations: 165.3 kB / 24.28 MB, free: 156 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 1.594/1.594, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.443e-06/1.443e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.576e-05, allocations: 6.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.005054/0.00508, allocations: 2.914 MB / 275.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.006697, allocations: 0.7867 MB / 276 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.006863, allocations: 4 kB / 276 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.007041, allocations: 47.5 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.007264, allocations: 107 kB / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.00763, allocations: 127.7 kB / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005071/0.008137, allocations: 418.1 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.008349, allocations: 91.66 kB / 276.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003981/0.008748, allocations: 235.5 kB / 277 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.008989, allocations: 127.6 kB / 277.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.325e-05/0.009052, allocations: 39.94 kB / 277.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.009153, allocations: 40 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.119e-05/0.009244, allocations: 79.73 kB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.009418, allocations: 123.7 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006062/0.01002, allocations: 450.7 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.01003, allocations: 0 / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01003, allocations: 4 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.01003, allocations: 0 / 277.9 MB, free: 12.25 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.001188/0.01122, allocations: 0.6719 MB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.01126, allocations: 8.031 kB / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/0.01148, allocations: 76.62 kB / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.0119, allocations: 240.8 kB / 278.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.01192, allocations: 16.88 kB / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.365e-05/0.01198, allocations: 24.38 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006173/0.0126, allocations: 356.1 kB / 279.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.01261, allocations: 192 / 279.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.01264, allocations: 12.38 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.01265, allocations: 7.938 kB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004419/0.01309, allocations: 201.8 kB / 279.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/0.01539, allocations: 1.22 MB / 280.7 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005801/0.01597, allocations: 211.1 kB / 280.9 MB, free: 9.055 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.0163, allocations: 135.5 kB / 281 MB, free: 8.918 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.01633, allocations: 4 kB / 281 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003973/0.01673, allocations: 242.1 kB / 281.3 MB, free: 8.637 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.01673, allocations: 0 / 281.3 MB, free: 8.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.00149/0.01822, allocations: 452.8 kB / 281.7 MB, free: 8.184 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.01833, allocations: 140.5 kB / 281.9 MB, free: 8.016 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.01871, allocations: 320.3 kB / 282.2 MB, free: 7.688 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.01875, allocations: 33.7 kB / 282.2 MB, free: 7.648 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.01893, allocations: 223.4 kB / 282.4 MB, free: 7.426 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.245e-05/0.01902, allocations: 87.36 kB / 282.5 MB, free: 7.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.01914, allocations: 63.36 kB / 282.6 MB, free: 7.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002985/0.01944, allocations: 0.5235 MB / 283.1 MB, free: 6.734 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.01962, allocations: 67.92 kB / 283.2 MB, free: 6.668 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.01988, allocations: 193.5 kB / 283.3 MB, free: 6.441 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.02022, allocations: 185.3 kB / 283.5 MB, free: 6.246 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-06/0.02022, allocations: 3.984 kB / 283.5 MB, free: 6.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005748/0.0208, allocations: 285.9 kB / 283.8 MB, free: 5.953 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.02082, allocations: 11.98 kB / 283.8 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.02083, allocations: 4 kB / 283.8 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003553/0.02118, allocations: 95.58 kB / 283.9 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.02133, allocations: 35.92 kB / 284 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003114/0.02444, allocations: 2.626 MB / 286.6 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.02465, allocations: 31.81 kB / 286.6 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.02468, allocations: 8 kB / 286.6 MB, free: 3.023 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 0.0002266/0.0249, allocations: 196.5 kB / 286.8 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.02496, allocations: 31.81 kB / 286.8 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.862e-05/0.02504, allocations: 38.3 kB / 286.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.02505, allocations: 4 kB / 286.9 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.02505, allocations: 0 / 286.9 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.02505, allocations: 3.938 kB / 286.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.02623, allocations: 0.8047 MB / 287.7 MB, free: 1.883 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.02624, allocations: 0 / 287.7 MB, free: 1.883 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.02636, allocations: 19.98 kB / 287.7 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004992/0.02686, allocations: 95.56 kB / 287.8 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.02688, allocations: 8.016 kB / 287.8 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002995/0.02988, allocations: 2.638 MB / 290.4 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.02988, allocations: 0 / 290.4 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008268/0.03071, allocations: 0.5028 MB / 291 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.03082, allocations: 51.77 kB / 291 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.03086, allocations: 4 kB / 291 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.03105, allocations: 20 kB / 291 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.03116, allocations: 35.92 kB / 291.1 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.03118, allocations: 11.94 kB / 291.1 MB, free: 14.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002379/0.03142, allocations: 225.1 kB / 291.3 MB, free: 14.13 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03142, allocations: 0 / 291.3 MB, free: 14.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004955/0.03192, allocations: 91.89 kB / 291.4 MB, free: 14.04 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 0.0001482/0.03206, allocations: 110.1 kB / 291.5 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007913/0.03285, allocations: 424.6 kB / 291.9 MB, free: 13.49 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.03286, allocations: 0 / 291.9 MB, free: 13.49 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004882/0.03335, allocations: 325.6 kB / 292.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.03374, allocations: 60.36 kB / 292.3 MB, free: 13.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.03493, allocations: 0.576 MB / 292.9 MB, free: 12.49 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.03511, allocations: 159.5 kB / 293 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.934e-05/0.03521, allocations: 26.28 kB / 293 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.682e-05/0.03527, allocations: 20.5 kB / 293.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.03527, allocations: 0 / 293.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of Templates: time 0.01038/0.04565, allocations: 4.627 MB / 297.7 MB, free: 7.73 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.668525572982617]