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.001332/0.001332, allocations: 112.9 kB / 19.17 MB, free: 3.891 MB / 14.72 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.00137/0.00137, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 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.438/1.438, allocations: 230.2 MB / 255.1 MB, free: 15.24 MB / 206.1 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 0.001819/0.001819, allocations: 67.89 kB / 374.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09096/0.09278, allocations: 53.31 MB / 427.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.00428/0.09706, allocations: 2.95 MB / 430.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.09842, allocations: 0.8024 MB / 431.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.09855, allocations: 8 kB / 431.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.0987, allocations: 55.44 kB / 431.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.09889, allocations: 103.1 kB / 431.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.09921, allocations: 111.8 kB / 431.9 MB, free: 436 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004508/0.09966, allocations: 414.3 kB / 432.3 MB, free: 20 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1708/0.2704, allocations: 85.55 kB / 432.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.2708, allocations: 159.5 kB / 432.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.271, allocations: 165.2 kB / 432.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.966e-05/0.2711, allocations: 36.81 kB / 432.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.2712, allocations: 44.59 kB / 432.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.977e-05/0.2713, allocations: 72.89 kB / 432.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.2714, allocations: 184 kB / 433 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004393/0.2718, allocations: 443 kB / 433.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2718, allocations: 1 kB / 433.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2718, allocations: 1.5 kB / 433.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.2719, allocations: 0 / 433.4 MB, free: 8.02 MB / 350.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.0008951/0.2728, allocations: 0.6277 MB / 434.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2728, allocations: 10.16 kB / 434.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.273, allocations: 49.38 kB / 434.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.2733, allocations: 291.5 kB / 434.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.2733, allocations: 19.72 kB / 434.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.2734, allocations: 25.28 kB / 434.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004471/0.2738, allocations: 290 kB / 434.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.2738, allocations: 3.938 kB / 434.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.2739, allocations: 13.41 kB / 434.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.2739, allocations: 6.5 kB / 434.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/0.2742, allocations: 199.1 kB / 435 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.2756, allocations: 1.146 MB / 436.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.2761, allocations: 210.9 kB / 436.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.2764, allocations: 122.6 kB / 436.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.2764, allocations: 3.656 kB / 436.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.2766, allocations: 174.5 kB / 436.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.382e-06/0.2766, allocations: 0 / 436.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001378/0.278, allocations: 0.5083 MB / 437.1 MB, free: 6.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.2781, allocations: 136.8 kB / 437.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.2783, allocations: 246.5 kB / 437.5 MB, free: 6.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.2783, allocations: 35.92 kB / 437.5 MB, free: 6.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.2784, allocations: 172.7 kB / 437.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.2784, allocations: 74.83 kB / 437.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.881e-05/0.2785, allocations: 50.28 kB / 437.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.509e-05/0.2786, allocations: 332.2 kB / 438.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.2787, allocations: 73.67 kB / 438.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.2789, allocations: 131.6 kB / 438.3 MB, free: 5.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.2791, allocations: 165.9 kB / 438.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2791, allocations: 0 / 438.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004761/0.2796, allocations: 295.6 kB / 438.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2796, allocations: 5.156 kB / 438.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2796, allocations: 2.25 kB / 438.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003358/0.28, allocations: 92.56 kB / 438.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.2801, allocations: 25.11 kB / 438.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.282, allocations: 2.141 MB / 441.1 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.2822, allocations: 33.66 kB / 441.1 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.2822, allocations: 6.469 kB / 441.1 MB, free: 3.566 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.0001217/0.2823, allocations: 149.7 kB / 441.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.2824, allocations: 36.67 kB / 441.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.2824, allocations: 34.84 kB / 441.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2824, allocations: 2.656 kB / 441.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2824, allocations: 1.344 kB / 441.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2824, allocations: 6.406 kB / 441.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008298/0.2833, allocations: 0.7632 MB / 442.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2833, allocations: 1.609 kB / 442.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.2834, allocations: 20.28 kB / 442.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000253/0.2836, allocations: 98.17 kB / 442.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.2837, allocations: 2.594 kB / 442.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.2854, allocations: 2.146 MB / 444.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2854, allocations: 0.8906 kB / 444.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/0.286, allocations: 449.1 kB / 444.8 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.892e-05/0.2861, allocations: 130.2 kB / 444.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.2862, allocations: 7.906 kB / 444.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.2864, allocations: 18.31 kB / 444.9 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.922e-05/0.2865, allocations: 34.38 kB / 445 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.2865, allocations: 8.719 kB / 445 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.2866, allocations: 175.3 kB / 445.2 MB, free: 420 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2866, allocations: 0 / 445.2 MB, free: 420 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004637/0.2871, allocations: 89.27 kB / 445.2 MB, free: 404 kB / 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.0001151/0.2872, allocations: 112 kB / 445.4 MB, free: 312 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006307/0.2878, allocations: 351 kB / 445.7 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2878, allocations: 3.938 kB / 445.7 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004009/0.2882, allocations: 251.6 kB / 445.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.2887, allocations: 63.12 kB / 446 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.29, allocations: 0.6361 MB / 446.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.2904, allocations: 0.7689 MB / 447.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.2905, allocations: 19.42 kB / 447.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2905, allocations: 5.312 kB / 447.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of Templates: time 0.007459/0.2979, allocations: 4.716 MB / 452.1 MB, free: 14.41 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.533110192976892]