Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009627/0.0009627, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009424/0.0009424, allocations: 145.7 kB / 24.89 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9526/0.9526, allocations: 173.4 MB / 201.5 MB, free: 8.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 268.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263e-05/1.403e-05, allocations: 2.312 kB / 268.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.006637/0.006651, allocations: 2.947 MB / 271.5 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004219/0.01087, allocations: 0.7359 MB / 272.2 MB, free: 2.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.01101, allocations: 4 kB / 272.2 MB, free: 2.266 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.01115, allocations: 55.44 kB / 272.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.01134, allocations: 103.1 kB / 272.4 MB, free: 2.109 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.01162, allocations: 107.7 kB / 272.5 MB, free: 2.004 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.012, allocations: 426 kB / 272.9 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.01218, allocations: 94.23 kB / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002762/0.01245, allocations: 239.5 kB / 273.2 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.01265, allocations: 123.7 kB / 273.3 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.03e-05/0.0127, allocations: 40 kB / 273.4 MB, free: 1.094 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.306e-05/0.01274, allocations: 39.94 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.0128, allocations: 75.73 kB / 273.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.01291, allocations: 115.8 kB / 273.6 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.0132, allocations: 279 kB / 273.9 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.0132, allocations: 0 / 273.9 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.0132, allocations: 0 / 273.9 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.01321, allocations: 0 / 273.9 MB, free: 0.5938 MB / 250.7 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.003692/0.0169, allocations: 0.528 MB / 274.4 MB, free: 40 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.01693, allocations: 8.922 kB / 274.4 MB, free: 32 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.221e-05/0.01701, allocations: 44.91 kB / 274.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.01725, allocations: 177.3 kB / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.01727, allocations: 20.88 kB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.01731, allocations: 28.38 kB / 274.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.01761, allocations: 280.2 kB / 274.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.01763, allocations: 4.172 kB / 274.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.01765, allocations: 8.375 kB / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.01766, allocations: 11.94 kB / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.01779, allocations: 71.41 kB / 275 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.01879, allocations: 0.7909 MB / 275.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.01906, allocations: 134.5 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.01919, allocations: 80.75 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.01921, allocations: 7.938 kB / 276 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00318/0.02239, allocations: 186.1 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.02239, allocations: 4 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006989/0.02309, allocations: 297.2 kB / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.02315, allocations: 140.5 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.02329, allocations: 205 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.02331, allocations: 29.7 kB / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.02339, allocations: 164.5 kB / 277 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.02344, allocations: 71.41 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-05/0.02351, allocations: 53.62 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.742e-05/0.0236, allocations: 334.7 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.269e-05/0.02364, allocations: 19.98 kB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.232e-05/0.02373, allocations: 132.5 kB / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.02385, allocations: 91.34 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.02385, allocations: 0 / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002077/0.02406, allocations: 162.9 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.02407, allocations: 8 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.02408, allocations: 0 / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000198/0.02427, allocations: 60.8 kB / 278 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.02439, allocations: 31.97 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004261/0.02865, allocations: 1.625 MB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.02876, allocations: 27.88 kB / 279.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.02877, allocations: 12.03 kB / 279.7 MB, free: 10.41 MB / 266.7 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 8.869e-05/0.02886, allocations: 121.8 kB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.02889, allocations: 19.92 kB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.76e-05/0.02893, allocations: 34.27 kB / 279.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.02893, allocations: 0 / 279.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.02893, allocations: 4 kB / 279.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.02894, allocations: 0 / 279.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.02938, allocations: 459.7 kB / 280.3 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.02938, allocations: 0 / 280.3 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.888e-05/0.02947, allocations: 28.02 kB / 280.3 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001478/0.02962, allocations: 60.78 kB / 280.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.02963, allocations: 7.938 kB / 280.4 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.03081, allocations: 1.63 MB / 282 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.03081, allocations: 7.922 kB / 282 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.03107, allocations: 277.7 kB / 282.3 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003074/0.03415, allocations: 31.78 kB / 282.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.03417, allocations: 4 kB / 282.3 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.03429, allocations: 15.98 kB / 282.3 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.327e-05/0.03436, allocations: 35.88 kB / 282.4 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.03437, allocations: 8.062 kB / 282.4 MB, free: 7.539 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.591e-05/0.03444, allocations: 70.78 kB / 282.4 MB, free: 7.469 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03444, allocations: 0 / 282.4 MB, free: 7.469 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003588/0.0348, allocations: 91.84 kB / 282.5 MB, free: 7.379 MB / 266.7 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 8.867e-05/0.03489, allocations: 84.42 kB / 282.6 MB, free: 7.285 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003569/0.03524, allocations: 278 kB / 282.9 MB, free: 7.004 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.03525, allocations: 4.188 kB / 282.9 MB, free: 7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.03546, allocations: 231.1 kB / 283.1 MB, free: 6.758 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.03571, allocations: 48.78 kB / 283.2 MB, free: 6.707 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009648/0.03668, allocations: 0.5529 MB / 283.7 MB, free: 6.121 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.408e-05/0.03674, allocations: 92.25 kB / 283.8 MB, free: 6.012 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.817e-05/0.03681, allocations: 22.28 kB / 283.8 MB, free: 5.992 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.03695, allocations: 99.34 kB / 283.9 MB, free: 5.895 MB / 266.7 MB Notification: Performance of SimCode: time 3.21e-07/0.03695, allocations: 0 / 283.9 MB, free: 5.895 MB / 266.7 MB Notification: Performance of Templates: time 0.0166/0.05354, allocations: 4.885 MB / 288.8 MB, free: 1.105 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6054716710932553]