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.00138/0.00138, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001542/0.001542, allocations: 209.8 kB / 24.48 MB, free: 3.934 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.466/1.466, allocations: 230.5 MB / 258.1 MB, free: 7.773 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.00195/0.00195, allocations: 63.89 kB / 379 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2585, allocations: 53.42 MB / 432.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004309/0.2628, allocations: 2.742 MB / 435.1 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.2643, allocations: 0.7674 MB / 435.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.2645, allocations: 7.938 kB / 435.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.2646, allocations: 51.5 kB / 436 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.2648, allocations: 95.12 kB / 436.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.2652, allocations: 127.7 kB / 436.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000442/0.2656, allocations: 410.3 kB / 436.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.2659, allocations: 83.69 kB / 436.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.2661, allocations: 167.3 kB / 436.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.2663, allocations: 139.3 kB / 437 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.272e-05/0.2664, allocations: 39.94 kB / 437 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.2665, allocations: 51.98 kB / 437.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.2666, allocations: 71.77 kB / 437.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.2667, allocations: 135.5 kB / 437.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005203/0.2672, allocations: 453.9 kB / 437.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2673, allocations: 4 kB / 437.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2673, allocations: 0 / 437.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.2673, allocations: 0 / 437.7 MB, free: 1.18 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.001043/0.2683, allocations: 0.5528 MB / 438.3 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2683, allocations: 15.98 kB / 438.3 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.2685, allocations: 52.69 kB / 438.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.269, allocations: 223.2 kB / 438.5 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.269, allocations: 16.88 kB / 438.6 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.269, allocations: 28.31 kB / 438.6 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/0.2696, allocations: 347.3 kB / 438.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2696, allocations: 0 / 438.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.2697, allocations: 8 kB / 438.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.2697, allocations: 8 kB / 438.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004101/0.2701, allocations: 209.8 kB / 439.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.2718, allocations: 0.9891 MB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.2723, allocations: 198.6 kB / 440.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000291/0.2726, allocations: 128.3 kB / 440.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.2726, allocations: 3.984 kB / 440.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003277/0.2729, allocations: 218.1 kB / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.2729, allocations: 0 / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001365/0.2743, allocations: 449.8 kB / 441.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.2744, allocations: 132.5 kB / 441.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.2746, allocations: 232.9 kB / 441.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.2747, allocations: 33.7 kB / 441.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.2748, allocations: 172.7 kB / 441.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/0.2749, allocations: 79.38 kB / 441.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.329e-05/0.275, allocations: 45.7 kB / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2751, allocations: 334.8 kB / 442.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.2753, allocations: 71.97 kB / 442.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.2755, allocations: 177.3 kB / 442.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.2758, allocations: 172 kB / 442.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2758, allocations: 0 / 442.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005158/0.2763, allocations: 286.2 kB / 442.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.2764, allocations: 11.94 kB / 442.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.2764, allocations: 0 / 442.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003328/0.2767, allocations: 92.75 kB / 442.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.2768, allocations: 27.97 kB / 442.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/0.2792, allocations: 1.993 MB / 444.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.2794, allocations: 27.88 kB / 445 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.2794, allocations: 12.06 kB / 445 MB, free: 9.488 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.0001815/0.2796, allocations: 157.7 kB / 445.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.2797, allocations: 27.81 kB / 445.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.299e-05/0.2797, allocations: 30.28 kB / 445.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2797, allocations: 7.938 kB / 445.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2797, allocations: 7.984 kB / 445.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2797, allocations: 0 / 445.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009522/0.2807, allocations: 0.6587 MB / 445.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2807, allocations: 4.031 kB / 445.9 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.2808, allocations: 19.88 kB / 445.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002572/0.2811, allocations: 96.78 kB / 446 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.2811, allocations: 4 kB / 446 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002324/0.2834, allocations: 1.989 MB / 448 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.2834, allocations: 3.938 kB / 448 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000708/0.2841, allocations: 441.7 kB / 448.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.2842, allocations: 39.97 kB / 448.4 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.2843, allocations: 11.94 kB / 448.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.2845, allocations: 15.98 kB / 448.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.2846, allocations: 47.94 kB / 448.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.2846, allocations: 4 kB / 448.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.2848, allocations: 172.5 kB / 448.7 MB, free: 5.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2848, allocations: 0 / 448.7 MB, free: 5.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004704/0.2852, allocations: 91.83 kB / 448.8 MB, free: 5.508 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.0001382/0.2854, allocations: 111.3 kB / 448.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007154/0.2861, allocations: 354.3 kB / 449.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2861, allocations: 0 / 449.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004343/0.2865, allocations: 253.5 kB / 449.5 MB, free: 4.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.2869, allocations: 63.81 kB / 449.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.2882, allocations: 0.6156 MB / 450.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.2883, allocations: 163.5 kB / 450.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.2884, allocations: 19.44 kB / 450.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of SimCode: time 6.42e-07/0.2884, allocations: 0 / 450.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of Templates: time 0.007432/0.2958, allocations: 4.708 MB / 455 MB, free: 15.17 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/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_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.528394713997841]