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.001858/0.001858, allocations: 99.64 kB / 21.18 MB, free: 0.6445 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.002239/0.002239, allocations: 213 kB / 24.48 MB, free: 3.93 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.474/1.474, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.001586/0.001586, allocations: 51.91 kB / 379 MB, free: 2.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2656, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004333/0.2699, allocations: 2.742 MB / 435.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.2715, allocations: 0.7634 MB / 435.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.2716, allocations: 4 kB / 435.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.2718, allocations: 47.5 kB / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.272, allocations: 107 kB / 436 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.2724, allocations: 115.8 kB / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004597/0.2728, allocations: 418.3 kB / 436.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.273, allocations: 81.64 kB / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.2733, allocations: 163.5 kB / 436.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.2735, allocations: 143.2 kB / 436.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.048e-05/0.2735, allocations: 40 kB / 436.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.2737, allocations: 36 kB / 437 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.2737, allocations: 75.77 kB / 437 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.2739, allocations: 151.3 kB / 437.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.2744, allocations: 446 kB / 437.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2744, allocations: 0 / 437.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2744, allocations: 0 / 437.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.2744, allocations: 4 kB / 437.6 MB, free: 1.41 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.001084/0.2755, allocations: 0.5594 MB / 438.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.2756, allocations: 8.031 kB / 438.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.2757, allocations: 56.67 kB / 438.3 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.2762, allocations: 230.8 kB / 438.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.2762, allocations: 20.88 kB / 438.5 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/0.2763, allocations: 20.38 kB / 438.5 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006284/0.2769, allocations: 339.3 kB / 438.9 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.2769, allocations: 0 / 438.9 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.2769, allocations: 12 kB / 438.9 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.2769, allocations: 4 kB / 438.9 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004665/0.2774, allocations: 209.8 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/0.2793, allocations: 0.9852 MB / 440.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005183/0.2798, allocations: 200.9 kB / 440.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.2801, allocations: 128.7 kB / 440.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.2801, allocations: 7.938 kB / 440.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003407/0.2804, allocations: 218.2 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.2805, allocations: 0 / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001426/0.2819, allocations: 448.9 kB / 441 MB, free: 13.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.282, allocations: 132.5 kB / 441.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.2823, allocations: 236.9 kB / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.2823, allocations: 29.7 kB / 441.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.2824, allocations: 172.6 kB / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.259e-05/0.2825, allocations: 83.39 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.159e-05/0.2826, allocations: 49.7 kB / 441.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.2828, allocations: 326.8 kB / 442 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.2829, allocations: 71.97 kB / 442.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.2832, allocations: 181.2 kB / 442.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.2835, allocations: 167.3 kB / 442.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2835, allocations: 3.938 kB / 442.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005321/0.284, allocations: 290.2 kB / 442.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2841, allocations: 7.938 kB / 442.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2841, allocations: 4 kB / 442.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003352/0.2844, allocations: 88.8 kB / 442.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.2845, allocations: 35.86 kB / 442.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002532/0.2871, allocations: 1.993 MB / 444.9 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.2873, allocations: 27.91 kB / 444.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.2873, allocations: 8 kB / 444.9 MB, free: 9.715 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.0001767/0.2875, allocations: 158 kB / 445.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.2875, allocations: 23.86 kB / 445.1 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.405e-05/0.2876, allocations: 30.27 kB / 445.1 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.2876, allocations: 7.938 kB / 445.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.2876, allocations: 0 / 445.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2876, allocations: 0 / 445.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009934/0.2886, allocations: 0.6593 MB / 445.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2886, allocations: 0 / 445.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.2887, allocations: 24.02 kB / 445.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002721/0.289, allocations: 96.77 kB / 445.9 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.289, allocations: 8 kB / 445.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003197/0.2922, allocations: 1.989 MB / 447.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.2922, allocations: 3.938 kB / 447.9 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.2933, allocations: 448.9 kB / 448.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.2935, allocations: 43.86 kB / 448.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.2935, allocations: 4 kB / 448.4 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.2939, allocations: 15.98 kB / 448.4 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.294, allocations: 39.98 kB / 448.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.294, allocations: 16.05 kB / 448.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002582/0.2943, allocations: 164.5 kB / 448.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2943, allocations: 0 / 448.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008028/0.2951, allocations: 95.83 kB / 448.7 MB, free: 5.738 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.0001845/0.2953, allocations: 103.3 kB / 448.8 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.2963, allocations: 366.2 kB / 449.2 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.2963, allocations: 0 / 449.2 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005962/0.2969, allocations: 256.5 kB / 449.4 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.0006435/0.2975, allocations: 44.78 kB / 449.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.2993, allocations: 0.6275 MB / 450.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.2996, allocations: 159.5 kB / 450.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.919e-05/0.2996, allocations: 19.44 kB / 450.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2996, allocations: 0 / 450.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of Templates: time 0.01124/0.3109, allocations: 4.713 MB / 455 MB, free: 15.41 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.556067158002406]