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.001672/0.001672, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002147/0.002147, allocations: 211.3 kB / 23.73 MB, free: 4.387 MB / 14.72 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 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 0.001642/0.001642, allocations: 43.94 kB / 378.2 MB, free: 2.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.268, allocations: 53.37 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004305/0.2723, allocations: 2.745 MB / 434.3 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.2739, allocations: 0.7635 MB / 435.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.274, allocations: 11.94 kB / 435.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.2742, allocations: 47.5 kB / 435.2 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.2744, allocations: 107.1 kB / 435.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.2748, allocations: 115.8 kB / 435.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004601/0.2752, allocations: 410.3 kB / 435.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.2754, allocations: 79.69 kB / 435.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.2757, allocations: 167.5 kB / 436 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.2759, allocations: 147.2 kB / 436.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.77e-05/0.276, allocations: 36 kB / 436.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.695e-05/0.2761, allocations: 40 kB / 436.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.979e-05/0.2761, allocations: 71.77 kB / 436.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.2763, allocations: 151.3 kB / 436.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005227/0.2768, allocations: 447.5 kB / 436.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2768, allocations: 0 / 436.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2768, allocations: 0 / 436.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.927e-05/0.2769, allocations: 0 / 436.9 MB, free: 1.406 MB / 334.1 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.001132/0.278, allocations: 0.5567 MB / 437.4 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.278, allocations: 12.03 kB / 437.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.2782, allocations: 48.69 kB / 437.5 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.2787, allocations: 226.9 kB / 437.7 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.2787, allocations: 20.81 kB / 437.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.2787, allocations: 24.38 kB / 437.8 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005585/0.2793, allocations: 347.3 kB / 438.1 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.2793, allocations: 0 / 438.1 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.2793, allocations: 8 kB / 438.1 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.2793, allocations: 8 kB / 438.1 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/0.2798, allocations: 201.9 kB / 438.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.2816, allocations: 0.989 MB / 439.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005876/0.2822, allocations: 202.6 kB / 439.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.2825, allocations: 128.8 kB / 439.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.2825, allocations: 0 / 439.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003489/0.2829, allocations: 222 kB / 439.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.2829, allocations: 0 / 439.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001485/0.2844, allocations: 457 kB / 440.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.2845, allocations: 132.5 kB / 440.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.2848, allocations: 232.9 kB / 440.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.2848, allocations: 33.7 kB / 440.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.285, allocations: 168.6 kB / 440.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.332e-05/0.285, allocations: 75.38 kB / 440.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.2851, allocations: 49.7 kB / 441 MB, free: 13.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2853, allocations: 330.8 kB / 441.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.2855, allocations: 80 kB / 441.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.2857, allocations: 173.3 kB / 441.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.286, allocations: 163.4 kB / 441.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.286, allocations: 3.984 kB / 441.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005167/0.2865, allocations: 286.3 kB / 442 MB, free: 11.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.2865, allocations: 15.94 kB / 442 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2865, allocations: 0 / 442 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003454/0.2869, allocations: 88.8 kB / 442.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.287, allocations: 27.98 kB / 442.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002532/0.2895, allocations: 1.997 MB / 444.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.2898, allocations: 31.86 kB / 444.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.2898, allocations: 4 kB / 444.1 MB, free: 9.719 MB / 350.1 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.0002304/0.29, allocations: 150 kB / 444.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.882e-05/0.2901, allocations: 31.86 kB / 444.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.57e-05/0.2901, allocations: 38.33 kB / 444.4 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2901, allocations: 7.875 kB / 444.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2901, allocations: 4 kB / 444.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2901, allocations: 0 / 444.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009921/0.2911, allocations: 0.6554 MB / 445 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2911, allocations: 0 / 445 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.2912, allocations: 23.98 kB / 445.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002732/0.2915, allocations: 88.8 kB / 445.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.2915, allocations: 8.016 kB / 445.1 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002416/0.294, allocations: 1.989 MB / 447.1 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.294, allocations: 3.938 kB / 447.1 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007208/0.2947, allocations: 455.4 kB / 447.6 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.2948, allocations: 39.86 kB / 447.6 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.2948, allocations: 4 kB / 447.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.295, allocations: 15.98 kB / 447.6 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.2951, allocations: 39.88 kB / 447.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.2952, allocations: 7.984 kB / 447.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.2953, allocations: 168.5 kB / 447.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2953, allocations: 0 / 447.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004956/0.2958, allocations: 96 kB / 447.9 MB, free: 5.742 MB / 350.1 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.0001425/0.296, allocations: 115.2 kB / 448.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007626/0.2967, allocations: 356.5 kB / 448.4 MB, free: 5.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2967, allocations: 3.938 kB / 448.4 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004132/0.2971, allocations: 254.8 kB / 448.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.2976, allocations: 48.67 kB / 448.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.2988, allocations: 0.5944 MB / 449.3 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.2989, allocations: 163.5 kB / 449.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.822e-05/0.299, allocations: 22.23 kB / 449.5 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.2991, allocations: 15.44 kB / 449.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2991, allocations: 0 / 449.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of Templates: time 0.009819/0.3089, allocations: 4.86 MB / 454.4 MB, free: 15.35 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 480] 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.6871744859963655]