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.001272/0.001272, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001428/0.001428, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.001486/0.001486, allocations: 55.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2583, allocations: 53.36 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004316/0.2626, allocations: 2.75 MB / 435.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.264, allocations: 0.7596 MB / 435.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.2642, allocations: 7.938 kB / 435.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.2643, allocations: 51.5 kB / 435.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.2645, allocations: 99.11 kB / 436 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.2649, allocations: 123.8 kB / 436.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000454/0.2654, allocations: 406.3 kB / 436.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.2656, allocations: 87.69 kB / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.2659, allocations: 167.4 kB / 436.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.2661, allocations: 163.2 kB / 436.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.171e-05/0.2661, allocations: 36 kB / 437 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.394e-05/0.2662, allocations: 44 kB / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.541e-05/0.2663, allocations: 71.77 kB / 437.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.2665, allocations: 151.4 kB / 437.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005154/0.267, allocations: 450 kB / 437.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.267, allocations: 0 / 437.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.267, allocations: 4 kB / 437.7 MB, free: 1.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.267, allocations: 0 / 437.7 MB, free: 1.359 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.001088/0.2681, allocations: 0.5528 MB / 438.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.2681, allocations: 12.03 kB / 438.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.2683, allocations: 48.69 kB / 438.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.2688, allocations: 222.9 kB / 438.5 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.2688, allocations: 20.88 kB / 438.5 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.963e-05/0.2688, allocations: 24.38 kB / 438.5 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/0.2694, allocations: 347.2 kB / 438.9 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.2694, allocations: 4 kB / 438.9 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.2695, allocations: 12 kB / 438.9 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.2695, allocations: 4 kB / 438.9 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004293/0.2699, allocations: 205.8 kB / 439.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.2716, allocations: 0.9891 MB / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000522/0.2721, allocations: 196.7 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.2724, allocations: 124.8 kB / 440.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.2724, allocations: 4 kB / 440.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003235/0.2727, allocations: 218.1 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.784e-06/0.2727, allocations: 4 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001427/0.2742, allocations: 448.8 kB / 441.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.2743, allocations: 136.5 kB / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.2745, allocations: 232.9 kB / 441.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.2745, allocations: 33.7 kB / 441.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.2747, allocations: 180.6 kB / 441.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.683e-05/0.2747, allocations: 71.38 kB / 441.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.444e-05/0.2748, allocations: 45.7 kB / 441.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.275, allocations: 338.8 kB / 442.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.2752, allocations: 67.97 kB / 442.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.2754, allocations: 181.3 kB / 442.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.2757, allocations: 167.4 kB / 442.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2757, allocations: 0 / 442.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005145/0.2762, allocations: 282.2 kB / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.2762, allocations: 11.94 kB / 442.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2763, allocations: 0 / 442.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003664/0.2766, allocations: 96.78 kB / 442.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.2768, allocations: 28.08 kB / 442.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/0.2792, allocations: 1.997 MB / 444.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.2794, allocations: 31.94 kB / 444.9 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.2794, allocations: 15.98 kB / 444.9 MB, free: 9.664 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.0001806/0.2796, allocations: 146 kB / 445.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.2796, allocations: 27.81 kB / 445.1 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.525e-05/0.2797, allocations: 30.27 kB / 445.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.2797, allocations: 7.938 kB / 445.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.654e-06/0.2797, allocations: 0 / 445.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2797, allocations: 0 / 445.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000973/0.2807, allocations: 0.6593 MB / 445.8 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2807, allocations: 0 / 445.8 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.2808, allocations: 23.92 kB / 445.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002705/0.2811, allocations: 84.75 kB / 445.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.2811, allocations: 11.98 kB / 445.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.2834, allocations: 1.997 MB / 447.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.2834, allocations: 3.938 kB / 447.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007077/0.2841, allocations: 447 kB / 448.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.2842, allocations: 43.86 kB / 448.4 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.2843, allocations: 8 kB / 448.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.2845, allocations: 24.11 kB / 448.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.2846, allocations: 43.81 kB / 448.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.2846, allocations: 4 kB / 448.5 MB, free: 5.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001748/0.2848, allocations: 168.5 kB / 448.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2848, allocations: 0 / 448.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004819/0.2853, allocations: 95.83 kB / 448.7 MB, free: 5.688 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.0001387/0.2854, allocations: 101.1 kB / 448.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007394/0.2861, allocations: 364.5 kB / 449.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2862, allocations: 0 / 449.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004126/0.2866, allocations: 254.5 kB / 449.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.287, allocations: 51.09 kB / 449.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.2882, allocations: 0.6263 MB / 450.1 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.2884, allocations: 163.5 kB / 450.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.2884, allocations: 19.44 kB / 450.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2885, allocations: 0 / 450.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of Templates: time 0.007461/0.2959, allocations: 4.717 MB / 455 MB, free: 15.36 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins1/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: 7.411900851991959]