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.001507/0.001507, allocations: 92.27 kB / 20.96 MB, free: 3.441 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.001637/0.001637, allocations: 160.9 kB / 24.26 MB, free: 144 kB / 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 1.434/1.434, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.984e-06/1.984e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.864e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004474/0.004503, allocations: 2.759 MB / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.006044, allocations: 0.7633 MB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.006174, allocations: 8 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.006345, allocations: 51.5 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.006559, allocations: 103 kB / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.006915, allocations: 123.7 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005013/0.007416, allocations: 430.1 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.00763, allocations: 87.67 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.008033, allocations: 251.3 kB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.008255, allocations: 119.7 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.24e-05/0.008317, allocations: 36 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.414e-05/0.008411, allocations: 40 kB / 276.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.146e-05/0.008493, allocations: 75.73 kB / 277 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.008653, allocations: 123.7 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005788/0.009232, allocations: 446.7 kB / 277.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.009236, allocations: 0 / 277.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.009237, allocations: 0 / 277.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.009243, allocations: 0 / 277.6 MB, free: 12.38 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.001103/0.01035, allocations: 0.5606 MB / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.01039, allocations: 11.98 kB / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002389/0.01063, allocations: 68.69 kB / 278.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.01108, allocations: 238.3 kB / 278.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.01112, allocations: 20.86 kB / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/0.01118, allocations: 28.38 kB / 278.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005865/0.01176, allocations: 331.6 kB / 278.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.01177, allocations: 192 / 278.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.0118, allocations: 12.31 kB / 278.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.01182, allocations: 11.94 kB / 278.8 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/0.01226, allocations: 201.9 kB / 279 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.01404, allocations: 0.9975 MB / 280 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005172/0.01455, allocations: 198.6 kB / 280.2 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.01488, allocations: 132.7 kB / 280.4 MB, free: 9.438 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.01491, allocations: 4 kB / 280.4 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003521/0.01526, allocations: 214.2 kB / 280.6 MB, free: 9.188 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.162e-06/0.01526, allocations: 0 / 280.6 MB, free: 9.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.001458/0.01672, allocations: 453.4 kB / 281 MB, free: 8.738 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.01683, allocations: 136.4 kB / 281.2 MB, free: 8.574 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.01711, allocations: 233.8 kB / 281.4 MB, free: 8.332 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.01715, allocations: 33.7 kB / 281.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.0173, allocations: 172.6 kB / 281.6 MB, free: 8.121 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.249e-05/0.01737, allocations: 67.44 kB / 281.7 MB, free: 8.055 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.01747, allocations: 57.69 kB / 281.7 MB, free: 7.992 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.01766, allocations: 330.8 kB / 282 MB, free: 7.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.01783, allocations: 71.97 kB / 282.1 MB, free: 7.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.01809, allocations: 184.5 kB / 282.3 MB, free: 7.379 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.01842, allocations: 167.3 kB / 282.4 MB, free: 7.203 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01842, allocations: 0 / 282.4 MB, free: 7.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005786/0.019, allocations: 298.2 kB / 282.7 MB, free: 6.902 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.01902, allocations: 8 kB / 282.7 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01902, allocations: 0 / 282.7 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003573/0.01938, allocations: 100.6 kB / 282.8 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.01952, allocations: 27.98 kB / 282.9 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/0.02218, allocations: 2.001 MB / 284.9 MB, free: 4.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.02239, allocations: 35.8 kB / 284.9 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.02242, allocations: 8 kB / 284.9 MB, free: 4.625 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.0001794/0.02259, allocations: 149.8 kB / 285.1 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.02266, allocations: 31.86 kB / 285.1 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.89e-05/0.02273, allocations: 34.27 kB / 285.1 MB, free: 4.402 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.02273, allocations: 0 / 285.1 MB, free: 4.402 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.02273, allocations: 4 kB / 285.1 MB, free: 4.398 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.02274, allocations: 3.938 kB / 285.1 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.0238, allocations: 0.6554 MB / 285.8 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.02381, allocations: 0 / 285.8 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.02392, allocations: 23.92 kB / 285.8 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003022/0.02423, allocations: 84.84 kB / 285.9 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.02425, allocations: 11.98 kB / 285.9 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/0.02689, allocations: 2.001 MB / 287.9 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.0269, allocations: 4.062 kB / 287.9 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007779/0.02767, allocations: 454.5 kB / 288.4 MB, free: 1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.02779, allocations: 47.78 kB / 288.4 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.02783, allocations: 8 kB / 288.4 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.02803, allocations: 15.98 kB / 288.4 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.02814, allocations: 35.88 kB / 288.5 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.02816, allocations: 15.92 kB / 288.5 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003046/0.02847, allocations: 165.3 kB / 288.6 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02847, allocations: 4 kB / 288.6 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004847/0.02895, allocations: 87.89 kB / 288.7 MB, free: 0.6289 MB / 266.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.0001428/0.0291, allocations: 107.2 kB / 288.8 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007241/0.02982, allocations: 349 kB / 289.2 MB, free: 168 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02982, allocations: 192 / 289.2 MB, free: 168 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004536/0.03028, allocations: 257.5 kB / 289.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.03069, allocations: 60.41 kB / 289.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.03191, allocations: 0.5764 MB / 290.1 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.03208, allocations: 155.5 kB / 290.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.895e-05/0.03217, allocations: 18.3 kB / 290.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.75e-05/0.03222, allocations: 20.5 kB / 290.2 MB, free: 15.03 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.03223, allocations: 0 / 290.2 MB, free: 15.03 MB / 282.7 MB Notification: Performance of Templates: time 0.01009/0.04231, allocations: 4.555 MB / 294.8 MB, free: 10.55 MB / 282.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.456497586914338]