Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.001056/0.001056, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.0009707/0.0009707, allocations: 134.6 kB / 25.59 MB, free: 8.906 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.9012/0.9012, allocations: 173.4 MB / 202.3 MB, free: 7.891 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.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 269.2 MB, free: 9.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.059e-05, allocations: 6.25 kB / 269.2 MB, free: 9.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004249/0.00427, allocations: 3.89 MB / 273.1 MB, free: 5.824 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.006183, allocations: 1.404 MB / 274.5 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002179/0.0064, allocations: 11.94 kB / 274.5 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005966/0.006997, allocations: 251.7 kB / 274.8 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.007382, allocations: 280.7 kB / 275 MB, free: 3.891 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.007892, allocations: 282.8 kB / 275.3 MB, free: 3.617 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006017/0.008493, allocations: 0.7355 MB / 276 MB, free: 2.879 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.008683, allocations: 117.4 kB / 276.2 MB, free: 2.758 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003521/0.009036, allocations: 411 kB / 276.6 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.009273, allocations: 235.4 kB / 276.8 MB, free: 2.125 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.541e-05/0.009329, allocations: 52 kB / 276.8 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.009478, allocations: 99.89 kB / 276.9 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.009584, allocations: 151.5 kB / 277.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.009727, allocations: 203.5 kB / 277.3 MB, free: 1.629 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.01017, allocations: 0.4982 MB / 277.8 MB, free: 1.129 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.01017, allocations: 0 / 277.8 MB, free: 1.129 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01017, allocations: 0 / 277.8 MB, free: 1.129 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.01018, allocations: 0 / 277.8 MB, free: 1.129 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001208/0.01139, allocations: 0.9808 MB / 278.8 MB, free: 108 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.01143, allocations: 12.62 kB / 278.8 MB, free: 96 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.01155, allocations: 108.4 kB / 278.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.01192, allocations: 343.2 kB / 279.2 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.01195, allocations: 29.38 kB / 279.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.012, allocations: 44.36 kB / 279.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.01239, allocations: 434.1 kB / 279.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.01241, allocations: 7.938 kB / 279.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.01243, allocations: 16 kB / 279.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.01244, allocations: 12 kB / 279.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.01263, allocations: 134.8 kB / 279.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.01393, allocations: 1.61 MB / 281.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.01423, allocations: 259.6 kB / 281.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.01434, allocations: 115.2 kB / 281.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.01436, allocations: 4 kB / 281.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.01459, allocations: 321 kB / 282.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.423e-06/0.01459, allocations: 4 kB / 282.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.0009101/0.01551, allocations: 0.5482 MB / 282.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.01556, allocations: 162.2 kB / 282.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.01582, allocations: 438.5 kB / 283.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.01585, allocations: 37.7 kB / 283.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.01599, allocations: 307.4 kB / 283.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.914e-05/0.01606, allocations: 134.9 kB / 283.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.472e-05/0.01615, allocations: 91.77 kB / 283.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.01628, allocations: 0.5351 MB / 284.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.532e-05/0.01635, allocations: 52.89 kB / 284.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.0165, allocations: 290.9 kB / 284.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.01694, allocations: 164.6 kB / 284.9 MB, free: 9.527 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01694, allocations: 4 kB / 284.9 MB, free: 9.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003355/0.01727, allocations: 340.5 kB / 285.2 MB, free: 9.168 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.01729, allocations: 4 kB / 285.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01729, allocations: 0 / 285.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000259/0.01755, allocations: 142.6 kB / 285.4 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.01767, allocations: 55.97 kB / 285.4 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004023/0.0217, allocations: 8.118 MB / 293.6 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.0219, allocations: 51.91 kB / 293.6 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.02192, allocations: 4 kB / 293.6 MB, free: 340 kB / 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: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.02206, allocations: 190.5 kB / 293.8 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-05/0.02215, allocations: 63.67 kB / 293.9 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005492/0.02269, allocations: 391.9 kB / 294.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.0227, allocations: 4 kB / 294.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.72e-07/0.0227, allocations: 0 / 294.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.0227, allocations: 3.938 kB / 294.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.02302, allocations: 284.9 kB / 294.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.02302, allocations: 0 / 294.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.788e-05/0.02311, allocations: 27.98 kB / 294.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002578/0.02337, allocations: 138.5 kB / 294.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.02338, allocations: 12 kB / 294.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003703/0.02709, allocations: 7.667 MB / 302.4 MB, free: 7.043 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02709, allocations: 0 / 302.4 MB, free: 7.043 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000572/0.02766, allocations: 414 kB / 302.8 MB, free: 6.598 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.02779, allocations: 83.55 kB / 302.9 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.02784, allocations: 12 kB / 302.9 MB, free: 6.504 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.02799, allocations: 28.05 kB / 302.9 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.0281, allocations: 55.89 kB / 303 MB, free: 6.422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.02813, allocations: 4 kB / 303 MB, free: 6.418 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001989/0.02832, allocations: 291 kB / 303.2 MB, free: 6.137 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02832, allocations: 0 / 303.2 MB, free: 6.137 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006671/0.02899, allocations: 171.8 kB / 303.4 MB, free: 5.969 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009765/0.02997, allocations: 404.5 kB / 303.8 MB, free: 5.711 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007091/0.03068, allocations: 0.9097 MB / 304.7 MB, free: 4.727 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.03068, allocations: 0 / 304.7 MB, free: 4.727 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004716/0.03115, allocations: 0.8267 MB / 305.5 MB, free: 3.824 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.03156, allocations: 115.5 kB / 305.7 MB, free: 3.715 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.03305, allocations: 0.8858 MB / 306.5 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.03338, allocations: 134.3 kB / 306.7 MB, free: 2.652 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.03351, allocations: 47.28 kB / 306.7 MB, free: 2.602 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.03376, allocations: 182.1 kB / 306.9 MB, free: 2.422 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.03376, allocations: 0 / 306.9 MB, free: 2.422 MB / 282.7 MB Notification: Performance of Templates: time 0.01446/0.04822, allocations: 9.936 MB / 316.8 MB, free: 8.637 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.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: 3.0609612176194787]