Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008407/0.0008407, allocations: 88.28 kB / 21.44 MB, free: 3.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004318/0.004318, allocations: 152 kB / 24.69 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8381/0.8381, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 325.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.502e-05, allocations: 3.125 kB / 325.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.002868/0.002893, allocations: 2.752 MB / 328.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008898/0.003782, allocations: 0.7712 MB / 329.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.003894, allocations: 8 kB / 329.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.004023, allocations: 47.5 kB / 329.4 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.004142, allocations: 107 kB / 329.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.004405, allocations: 127.7 kB / 329.6 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.004681, allocations: 425.9 kB / 330 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.004843, allocations: 87.62 kB / 330.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.005082, allocations: 251.4 kB / 330.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.005215, allocations: 115.7 kB / 330.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.005249, allocations: 36 kB / 330.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.917e-05/0.005308, allocations: 44 kB / 330.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.00535, allocations: 79.67 kB / 330.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.997e-05/0.00543, allocations: 115.8 kB / 330.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.005751, allocations: 454.7 kB / 331.2 MB, free: 9.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.005753, allocations: 0 / 331.2 MB, free: 9.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.005754, allocations: 0 / 331.2 MB, free: 9.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.005758, allocations: 7.938 kB / 331.2 MB, free: 9.812 MB / 298.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.0006582/0.006417, allocations: 0.5489 MB / 331.7 MB, free: 9.234 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.006452, allocations: 11.98 kB / 331.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.006568, allocations: 48.69 kB / 331.8 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.006833, allocations: 234.3 kB / 332 MB, free: 8.918 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.006853, allocations: 20.88 kB / 332 MB, free: 8.898 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.006889, allocations: 24.38 kB / 332.1 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.007224, allocations: 331.6 kB / 332.4 MB, free: 8.527 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.007235, allocations: 4.172 kB / 332.4 MB, free: 8.523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.007256, allocations: 12.38 kB / 332.4 MB, free: 8.512 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.007263, allocations: 7.938 kB / 332.4 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002463/0.007509, allocations: 201.9 kB / 332.6 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009667/0.008476, allocations: 0.9819 MB / 333.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.008806, allocations: 214.6 kB / 333.8 MB, free: 7.043 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.009004, allocations: 124.8 kB / 333.9 MB, free: 6.918 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.00902, allocations: 4 kB / 333.9 MB, free: 6.914 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.00922, allocations: 210.2 kB / 334.1 MB, free: 6.672 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.009222, allocations: 0 / 334.1 MB, free: 6.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007932/0.01001, allocations: 446.9 kB / 334.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.01007, allocations: 140.4 kB / 334.7 MB, free: 6.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.01023, allocations: 233.7 kB / 334.9 MB, free: 5.816 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.01025, allocations: 33.64 kB / 335 MB, free: 5.777 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.696e-05/0.01034, allocations: 172.6 kB / 335.1 MB, free: 5.605 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.01038, allocations: 75.41 kB / 335.2 MB, free: 5.531 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-05/0.01045, allocations: 57.69 kB / 335.3 MB, free: 5.469 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003628/0.01081, allocations: 330.8 kB / 335.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.355e-05/0.0109, allocations: 71.97 kB / 335.6 MB, free: 5.066 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.01103, allocations: 176.5 kB / 335.8 MB, free: 4.863 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.01121, allocations: 167.3 kB / 336 MB, free: 4.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01121, allocations: 0 / 336 MB, free: 4.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002975/0.01151, allocations: 290.2 kB / 336.3 MB, free: 4.395 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.01152, allocations: 4 kB / 336.3 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01152, allocations: 0 / 336.3 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002227/0.01174, allocations: 92.73 kB / 336.4 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.904e-05/0.01182, allocations: 31.92 kB / 336.4 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.01319, allocations: 1.993 MB / 338.4 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.494e-05/0.01329, allocations: 31.84 kB / 338.4 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.0133, allocations: 8 kB / 338.4 MB, free: 2.133 MB / 298.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.0001054/0.0134, allocations: 161 kB / 338.6 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.01342, allocations: 23.86 kB / 338.6 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.01345, allocations: 30.27 kB / 338.6 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01346, allocations: 4 kB / 338.6 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.01346, allocations: 0 / 338.6 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01346, allocations: 3.938 kB / 338.6 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005386/0.014, allocations: 0.6554 MB / 339.3 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.014, allocations: 0 / 339.3 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.01406, allocations: 19.98 kB / 339.3 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001503/0.01421, allocations: 96.77 kB / 339.4 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.01422, allocations: 8 kB / 339.4 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.01552, allocations: 1.988 MB / 341.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01552, allocations: 4.062 kB / 341.4 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.01592, allocations: 445.5 kB / 341.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/0.01598, allocations: 51.8 kB / 341.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.016, allocations: 96 / 341.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.234e-05/0.01609, allocations: 23.92 kB / 341.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.01616, allocations: 35.94 kB / 342 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.01617, allocations: 11.92 kB / 342 MB, free: 14.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.669e-05/0.01627, allocations: 165.2 kB / 342.1 MB, free: 14.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01627, allocations: 4.062 kB / 342.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002782/0.01655, allocations: 91.89 kB / 342.2 MB, free: 14.16 MB / 314.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.0001069/0.01665, allocations: 110.2 kB / 342.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007108/0.01736, allocations: 357.6 kB / 342.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01737, allocations: 4.188 kB / 342.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.01758, allocations: 254.5 kB / 342.9 MB, free: 13.42 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.01784, allocations: 51.61 kB / 343 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007315/0.01857, allocations: 0.5763 MB / 343.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.01868, allocations: 159.5 kB / 343.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.01872, allocations: 20.5 kB / 343.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01872, allocations: 0 / 343.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of Templates: time 0.004489/0.02321, allocations: 4.707 MB / 348.4 MB, free: 7.871 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.481136541813612]