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.0007951/0.0007951, allocations: 91.62 kB / 21.44 MB, free: 3.102 MB / 18.57 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.0008886/0.0008886, allocations: 159.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8577/0.8577, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.704e-06/1.704e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.591e-05, allocations: 2.281 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.002695/0.002721, allocations: 2.761 MB / 328.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000857/0.003578, allocations: 0.7712 MB / 329.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.003687, allocations: 11.94 kB / 329.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.003814, allocations: 47.5 kB / 329.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.003935, allocations: 103.1 kB / 329.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.004193, allocations: 115.7 kB / 329.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.004466, allocations: 426 kB / 330.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.004628, allocations: 99.59 kB / 330.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.004861, allocations: 231.5 kB / 330.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.004997, allocations: 123.6 kB / 330.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.00503, allocations: 36 kB / 330.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.67e-05/0.005086, allocations: 40 kB / 330.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.054e-05/0.005127, allocations: 75.73 kB / 330.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.15e-05/0.005208, allocations: 127.7 kB / 330.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.005531, allocations: 450.7 kB / 331.2 MB, free: 10 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.005533, allocations: 3.938 kB / 331.2 MB, free: 9.996 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.005534, allocations: 0 / 331.2 MB, free: 9.996 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.005538, allocations: 0 / 331.2 MB, free: 9.996 MB / 298.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.0006515/0.00619, allocations: 0.5518 MB / 331.8 MB, free: 9.418 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.006221, allocations: 8.031 kB / 331.8 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.006333, allocations: 48.69 kB / 331.8 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.006589, allocations: 234 kB / 332.1 MB, free: 9.105 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.006606, allocations: 20.88 kB / 332.1 MB, free: 9.086 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.006645, allocations: 24.38 kB / 332.1 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005831/0.007228, allocations: 343.5 kB / 332.4 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.007238, allocations: 192 / 332.4 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.007257, allocations: 8.375 kB / 332.4 MB, free: 8.691 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.007264, allocations: 11.94 kB / 332.5 MB, free: 8.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.007505, allocations: 205.8 kB / 332.7 MB, free: 8.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009448/0.00845, allocations: 0.9858 MB / 333.6 MB, free: 7.434 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.008769, allocations: 194.6 kB / 333.8 MB, free: 7.234 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.008955, allocations: 132.7 kB / 334 MB, free: 7.102 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.008969, allocations: 0 / 334 MB, free: 7.102 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.009157, allocations: 218.1 kB / 334.2 MB, free: 6.852 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.002e-06/0.009158, allocations: 3.938 kB / 334.2 MB, free: 6.848 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007712/0.009929, allocations: 445.2 kB / 334.6 MB, free: 6.406 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.009984, allocations: 136.5 kB / 334.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.01013, allocations: 237.7 kB / 335 MB, free: 5.996 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.01015, allocations: 29.7 kB / 335 MB, free: 5.961 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/0.01023, allocations: 176.6 kB / 335.2 MB, free: 5.785 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.01027, allocations: 67.44 kB / 335.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/0.01032, allocations: 57.69 kB / 335.3 MB, free: 5.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.677e-05/0.0104, allocations: 330.8 kB / 335.6 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.09e-05/0.01049, allocations: 71.97 kB / 335.7 MB, free: 5.254 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.01062, allocations: 180.5 kB / 335.9 MB, free: 5.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.0108, allocations: 164 kB / 336 MB, free: 4.875 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.0108, allocations: 0 / 336 MB, free: 4.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002897/0.01109, allocations: 290.1 kB / 336.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.0111, allocations: 11.92 kB / 336.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.0111, allocations: 0 / 336.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002095/0.01131, allocations: 96.69 kB / 336.4 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.074e-05/0.01138, allocations: 31.98 kB / 336.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.01273, allocations: 1.989 MB / 338.4 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.191e-05/0.01282, allocations: 31.95 kB / 338.5 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.01283, allocations: 11.94 kB / 338.5 MB, free: 2.309 MB / 298.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 9.931e-05/0.01293, allocations: 153.8 kB / 338.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.01295, allocations: 27.84 kB / 338.7 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.01298, allocations: 26.28 kB / 338.7 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01298, allocations: 4 kB / 338.7 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.01298, allocations: 0 / 338.7 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01299, allocations: 7.922 kB / 338.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007855/0.01377, allocations: 0.6476 MB / 339.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01377, allocations: 0 / 339.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.01383, allocations: 27.92 kB / 339.4 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001496/0.01398, allocations: 92.83 kB / 339.5 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.014, allocations: 4 kB / 339.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.01523, allocations: 1.998 MB / 341.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01523, allocations: 7.938 kB / 341.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.01561, allocations: 451.4 kB / 341.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.01567, allocations: 47.77 kB / 342 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.01569, allocations: 8 kB / 342 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.052e-05/0.01578, allocations: 15.98 kB / 342 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.01584, allocations: 35.88 kB / 342 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.01585, allocations: 11.94 kB / 342 MB, free: 14.58 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.252e-05/0.01595, allocations: 173.3 kB / 342.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01595, allocations: 0 / 342.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002636/0.01621, allocations: 91.89 kB / 342.3 MB, free: 14.32 MB / 314.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.35e-05/0.01629, allocations: 99.25 kB / 342.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004058/0.0167, allocations: 350.3 kB / 342.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.0167, allocations: 192 / 342.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.0169, allocations: 254.5 kB / 343 MB, free: 13.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.01715, allocations: 60.22 kB / 343 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006729/0.01782, allocations: 0.5869 MB / 343.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.894e-05/0.01791, allocations: 159.4 kB / 343.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.01794, allocations: 20.5 kB / 343.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01795, allocations: 0 / 343.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of Templates: time 0.004213/0.02216, allocations: 4.713 MB / 348.5 MB, free: 8.035 MB / 314.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins/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: 4.415219233371317]