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.0009585/0.0009585, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001432/0.001432, allocations: 160.5 kB / 24.55 MB, free: 12 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.01/1.01, allocations: 177 MB / 204.8 MB, free: 5.582 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.583e-06/1.583e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/3.076e-05, allocations: 2.312 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.003429/0.003459, allocations: 2.955 MB / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.004618, allocations: 0.7867 MB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.00474, allocations: 7.938 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.004896, allocations: 51.5 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.005041, allocations: 111 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.005329, allocations: 115.7 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.005632, allocations: 426.1 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.005814, allocations: 95.59 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.006067, allocations: 247.4 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.006216, allocations: 119.7 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.073e-05/0.006256, allocations: 40 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.996e-05/0.006326, allocations: 39.98 kB / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.719e-05/0.006374, allocations: 83.69 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.31e-05/0.006467, allocations: 119.7 kB / 278.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.006748, allocations: 275 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.00675, allocations: 0 / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.006753, allocations: 7.922 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.006759, allocations: 0 / 278.4 MB, free: 11.96 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.0006849/0.007444, allocations: 0.6449 MB / 279 MB, free: 11.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.007481, allocations: 15.98 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.007625, allocations: 64.69 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.007886, allocations: 236.9 kB / 279.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.007903, allocations: 20.88 kB / 279.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.007937, allocations: 24.38 kB / 279.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.008252, allocations: 292.7 kB / 279.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.008261, allocations: 192 / 279.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.008282, allocations: 16.36 kB / 279.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.008292, allocations: 7.938 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.008459, allocations: 106.9 kB / 279.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.009485, allocations: 1.084 MB / 280.9 MB, free: 9.301 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.00978, allocations: 168 kB / 281 MB, free: 9.125 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.009942, allocations: 99.58 kB / 281.1 MB, free: 9.023 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.009957, allocations: 4 kB / 281.1 MB, free: 9.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.01013, allocations: 199.1 kB / 281.3 MB, free: 8.781 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.01013, allocations: 0 / 281.3 MB, free: 8.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007191/0.01085, allocations: 364.2 kB / 281.7 MB, free: 8.418 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.0109, allocations: 136.5 kB / 281.8 MB, free: 8.254 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.01106, allocations: 276.2 kB / 282.1 MB, free: 7.969 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.01107, allocations: 33.7 kB / 282.1 MB, free: 7.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.01116, allocations: 215.4 kB / 282.3 MB, free: 7.711 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.01121, allocations: 75.36 kB / 282.4 MB, free: 7.637 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.01127, allocations: 59.3 kB / 282.5 MB, free: 7.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.01138, allocations: 0.5001 MB / 283 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/0.01144, allocations: 39.97 kB / 283 MB, free: 7.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.01155, allocations: 145.5 kB / 283.1 MB, free: 6.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.01169, allocations: 126.6 kB / 283.3 MB, free: 6.699 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01169, allocations: 0 / 283.3 MB, free: 6.699 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002384/0.01193, allocations: 217 kB / 283.5 MB, free: 6.477 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.01194, allocations: 10.81 kB / 283.5 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.01195, allocations: 0 / 283.5 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001975/0.01214, allocations: 71.56 kB / 283.6 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.45e-05/0.01222, allocations: 32.02 kB / 283.6 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.01357, allocations: 2.36 MB / 285.9 MB, free: 3.887 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.97e-05/0.01366, allocations: 31.81 kB / 286 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.01367, allocations: 15.98 kB / 286 MB, free: 3.84 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.7e-05/0.01377, allocations: 176.5 kB / 286.2 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.0138, allocations: 31.86 kB / 286.2 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.01382, allocations: 30.27 kB / 286.2 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01383, allocations: 4 kB / 286.2 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.01383, allocations: 0 / 286.2 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.01383, allocations: 3.938 kB / 286.2 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.01437, allocations: 0.6758 MB / 286.9 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01437, allocations: 0 / 286.9 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.404e-05/0.01444, allocations: 19.98 kB / 286.9 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001418/0.01458, allocations: 67.62 kB / 287 MB, free: 2.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.01459, allocations: 4 kB / 287 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.01589, allocations: 2.364 MB / 289.4 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01589, allocations: 0 / 289.4 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.01623, allocations: 392.5 kB / 289.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.01629, allocations: 51.77 kB / 289.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.01631, allocations: 4 kB / 289.8 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-05/0.0164, allocations: 11.98 kB / 289.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.871e-05/0.01647, allocations: 40 kB / 289.9 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.01648, allocations: 7.938 kB / 289.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.798e-05/0.01658, allocations: 197.1 kB / 290.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01658, allocations: 0 / 290.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002844/0.01686, allocations: 95.84 kB / 290.1 MB, free: 15.47 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.000131/0.017, allocations: 111.2 kB / 290.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004657/0.01746, allocations: 356.1 kB / 290.6 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01746, allocations: 0 / 290.6 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.01768, allocations: 292.7 kB / 290.9 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.01793, allocations: 72.98 kB / 291 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009013/0.01883, allocations: 0.5456 MB / 291.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.352e-05/0.01888, allocations: 92.3 kB / 291.6 MB, free: 13.92 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.229e-05/0.01893, allocations: 18.3 kB / 291.6 MB, free: 13.9 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.01897, allocations: 24.5 kB / 291.6 MB, free: 13.88 MB / 282.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01898, allocations: 0 / 291.6 MB, free: 13.88 MB / 282.7 MB Notification: Performance of Templates: time 0.006122/0.0251, allocations: 4.835 MB / 296.5 MB, free: 9.121 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 240] 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","",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.9578347532078624]