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.001487/0.001487, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001644/0.001644, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.428/1.428, allocations: 230.6 MB / 258.3 MB, free: 8.215 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.001531/0.001531, allocations: 51.92 kB / 379 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2391, allocations: 53.36 MB / 432.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004139/0.2432, allocations: 2.972 MB / 435.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.2446, allocations: 0.7907 MB / 436.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.2448, allocations: 7.938 kB / 436.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.2449, allocations: 55.5 kB / 436.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.2451, allocations: 103.1 kB / 436.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.2455, allocations: 119.7 kB / 436.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004466/0.2459, allocations: 414.3 kB / 436.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.2461, allocations: 87.67 kB / 436.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.2464, allocations: 163.5 kB / 437.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.2466, allocations: 163.2 kB / 437.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.492e-05/0.2466, allocations: 36 kB / 437.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.43e-05/0.2467, allocations: 44 kB / 437.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.45e-05/0.2468, allocations: 71.77 kB / 437.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.247, allocations: 187.1 kB / 437.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005044/0.2475, allocations: 439.6 kB / 438 MB, free: 1.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2475, allocations: 0 / 438 MB, free: 1.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2475, allocations: 0 / 438 MB, free: 1.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.2475, allocations: 3.938 kB / 438 MB, free: 1.312 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.0009837/0.2485, allocations: 0.5567 MB / 438.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.2485, allocations: 8.031 kB / 438.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.2487, allocations: 52.62 kB / 438.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.2491, allocations: 226.9 kB / 438.9 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.2491, allocations: 24.81 kB / 438.9 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.2491, allocations: 32.34 kB / 438.9 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004944/0.2496, allocations: 283.9 kB / 439.2 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2496, allocations: 0 / 439.2 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.2497, allocations: 12 kB / 439.2 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2497, allocations: 8 kB / 439.2 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.2501, allocations: 205.8 kB / 439.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.2518, allocations: 1.109 MB / 440.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.2523, allocations: 202.6 kB / 440.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.2526, allocations: 120.8 kB / 440.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.2526, allocations: 4 kB / 440.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002863/0.2529, allocations: 170.6 kB / 441 MB, free: 14.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.2529, allocations: 0 / 441 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001347/0.2542, allocations: 443.6 kB / 441.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.2543, allocations: 136.5 kB / 441.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.2546, allocations: 249.1 kB / 441.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.2546, allocations: 25.7 kB / 441.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.2547, allocations: 172.7 kB / 442 MB, free: 13.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.261e-05/0.2548, allocations: 71.42 kB / 442.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-05/0.2549, allocations: 53.66 kB / 442.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.255, allocations: 330.8 kB / 442.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.2552, allocations: 71.97 kB / 442.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.2554, allocations: 125.9 kB / 442.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.2557, allocations: 171.3 kB / 442.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2557, allocations: 0 / 442.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004955/0.2562, allocations: 298.1 kB / 443.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2562, allocations: 8 kB / 443.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2562, allocations: 3.984 kB / 443.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003295/0.2565, allocations: 92.8 kB / 443.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.2567, allocations: 27.92 kB / 443.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/0.2592, allocations: 2.046 MB / 445.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.2594, allocations: 35.88 kB / 445.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.2594, allocations: 8.016 kB / 445.3 MB, free: 9.594 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.0001786/0.2596, allocations: 149.8 kB / 445.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.2596, allocations: 31.8 kB / 445.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.89e-05/0.2597, allocations: 38.14 kB / 445.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2597, allocations: 4 kB / 445.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.2597, allocations: 0 / 445.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2597, allocations: 0 / 445.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009944/0.2607, allocations: 0.7392 MB / 446.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.2607, allocations: 4.031 kB / 446.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.2608, allocations: 19.98 kB / 446.3 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002532/0.2611, allocations: 84.8 kB / 446.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.2611, allocations: 8 kB / 446.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002402/0.2635, allocations: 2.055 MB / 448.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2635, allocations: 4.062 kB / 448.5 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006849/0.2642, allocations: 447.3 kB / 448.9 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-05/0.2643, allocations: 51.66 kB / 448.9 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.2643, allocations: 8 kB / 448.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.2645, allocations: 16.05 kB / 449 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/0.2646, allocations: 35.94 kB / 449 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.2646, allocations: 8 kB / 449 MB, free: 5.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.2648, allocations: 180.5 kB / 449.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2648, allocations: 0 / 449.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004557/0.2653, allocations: 87.89 kB / 449.3 MB, free: 5.449 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.0001307/0.2654, allocations: 103.2 kB / 449.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006904/0.2661, allocations: 353.1 kB / 449.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2661, allocations: 0 / 449.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004238/0.2665, allocations: 250.5 kB / 450 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.2669, allocations: 68.94 kB / 450 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.2681, allocations: 0.6274 MB / 450.7 MB, free: 4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.2685, allocations: 0.7716 MB / 451.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.2686, allocations: 23.42 kB / 451.4 MB, free: 3.18 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2686, allocations: 0 / 451.4 MB, free: 3.18 MB / 350.1 MB Notification: Performance of Templates: time 0.007397/0.276, allocations: 4.714 MB / 456.2 MB, free: 14.49 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.162744950968772]