Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.001019/0.001019, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001128/0.001128, allocations: 166.7 kB / 25.7 MB, free: 8.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9825/0.9825, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.967e-05, allocations: 2.312 kB / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004512/0.004531, allocations: 3.901 MB / 255.5 MB, free: 3.301 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.006964, allocations: 1.375 MB / 256.9 MB, free: 1.914 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002767/0.007241, allocations: 7.938 kB / 256.9 MB, free: 1.906 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006809/0.007922, allocations: 262.7 kB / 257.1 MB, free: 1.648 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000501/0.008423, allocations: 262.1 kB / 257.4 MB, free: 1.387 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005208/0.008944, allocations: 263.4 kB / 257.6 MB, free: 1.129 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006546/0.009598, allocations: 0.7393 MB / 258.4 MB, free: 396 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.009799, allocations: 118.1 kB / 258.5 MB, free: 272 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004349/0.01023, allocations: 399.1 kB / 258.9 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.01052, allocations: 239.3 kB / 259.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.464e-05/0.01059, allocations: 56 kB / 259.2 MB, free: 15.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.01077, allocations: 99.89 kB / 259.3 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.01089, allocations: 159.4 kB / 259.4 MB, free: 15.33 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.01107, allocations: 199.5 kB / 259.6 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005048/0.01157, allocations: 0.4982 MB / 260.1 MB, free: 14.64 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.01157, allocations: 0 / 260.1 MB, free: 14.64 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01157, allocations: 0 / 260.1 MB, free: 14.64 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.01158, allocations: 0 / 260.1 MB, free: 14.64 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.0009815/0.01256, allocations: 0.8444 MB / 261 MB, free: 13.76 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.01259, allocations: 11.98 kB / 261 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.951e-05/0.01269, allocations: 80.88 kB / 261 MB, free: 13.67 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.01305, allocations: 312.3 kB / 261.3 MB, free: 13.33 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.01309, allocations: 33.38 kB / 261.4 MB, free: 13.3 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.01313, allocations: 36.38 kB / 261.4 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004295/0.01356, allocations: 438.8 kB / 261.8 MB, free: 12.79 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.01357, allocations: 3.938 kB / 261.8 MB, free: 12.79 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.0136, allocations: 16 kB / 261.9 MB, free: 12.77 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.01361, allocations: 8 kB / 261.9 MB, free: 12.77 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.01381, allocations: 133.7 kB / 262 MB, free: 12.63 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.01541, allocations: 1.215 MB / 263.2 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.01574, allocations: 277.4 kB / 263.5 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.01586, allocations: 88.33 kB / 263.6 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.01588, allocations: 15.75 kB / 263.6 MB, free: 10.97 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002621/0.01614, allocations: 308 kB / 263.9 MB, free: 10.62 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 1.593e-06/0.01614, allocations: 0 / 263.9 MB, free: 10.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.0009609/0.01711, allocations: 484.1 kB / 264.4 MB, free: 10.12 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.01717, allocations: 166.2 kB / 264.5 MB, free: 9.926 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.01747, allocations: 380.9 kB / 264.9 MB, free: 9.539 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.0175, allocations: 37.7 kB / 264.9 MB, free: 9.496 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.01761, allocations: 209.6 kB / 265.1 MB, free: 9.289 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.13e-05/0.01769, allocations: 134.9 kB / 265.3 MB, free: 9.156 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.0178, allocations: 78.12 kB / 265.3 MB, free: 9.074 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.01791, allocations: 358.7 kB / 265.7 MB, free: 8.715 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.784e-05/0.01799, allocations: 47.81 kB / 265.7 MB, free: 8.668 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.01816, allocations: 253.5 kB / 266 MB, free: 8.359 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.01836, allocations: 162.9 kB / 266.2 MB, free: 8.188 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.01836, allocations: 7.938 kB / 266.2 MB, free: 8.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003472/0.01871, allocations: 263.6 kB / 266.4 MB, free: 7.902 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.01873, allocations: 8 kB / 266.4 MB, free: 7.895 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.01873, allocations: 4.094 kB / 266.4 MB, free: 7.891 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002922/0.01902, allocations: 127.3 kB / 266.6 MB, free: 7.754 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.01918, allocations: 47.91 kB / 266.6 MB, free: 7.707 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003155/0.02233, allocations: 5.52 MB / 272.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.02252, allocations: 59.73 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.02254, allocations: 11.98 kB / 272.2 MB, free: 1.77 MB / 250.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.0001307/0.02267, allocations: 138.8 kB / 272.3 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.02273, allocations: 47.89 kB / 272.4 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004336/0.02316, allocations: 316.8 kB / 272.7 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.02317, allocations: 8 kB / 272.7 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.02317, allocations: 0 / 272.7 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.02317, allocations: 3.938 kB / 272.7 MB, free: 1.238 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.02344, allocations: 249.5 kB / 272.9 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.02345, allocations: 0 / 272.9 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.233e-05/0.02354, allocations: 23.98 kB / 273 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002363/0.02378, allocations: 127.3 kB / 273.1 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.02379, allocations: 4 kB / 273.1 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002856/0.02665, allocations: 5.24 MB / 278.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02665, allocations: 0 / 278.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/0.02706, allocations: 317.9 kB / 278.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.02716, allocations: 51.64 kB / 278.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.02721, allocations: 15.94 kB / 278.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.02735, allocations: 32 kB / 278.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.02746, allocations: 55.89 kB / 278.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.02748, allocations: 15.97 kB / 278.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000171/0.02765, allocations: 171.5 kB / 279 MB, free: 10.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02765, allocations: 0 / 279 MB, free: 10.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006451/0.0283, allocations: 171.7 kB / 279.1 MB, free: 10.38 MB / 266.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.00131/0.02961, allocations: 0.5318 MB / 279.7 MB, free: 9.895 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006221/0.03023, allocations: 0.6746 MB / 280.3 MB, free: 9.168 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.03024, allocations: 4 kB / 280.4 MB, free: 9.164 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004182/0.03065, allocations: 0.5966 MB / 280.9 MB, free: 8.512 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.03098, allocations: 117.4 kB / 281.1 MB, free: 8.398 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.03257, allocations: 0.8883 MB / 282 MB, free: 7.477 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.03269, allocations: 130.4 kB / 282.1 MB, free: 7.328 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001448/0.03284, allocations: 51.27 kB / 282.1 MB, free: 7.273 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/0.03307, allocations: 149.3 kB / 282.3 MB, free: 7.129 MB / 266.7 MB Notification: Performance of SimCode: time 9.01e-07/0.03307, allocations: 0 / 282.3 MB, free: 7.129 MB / 266.7 MB Notification: Performance of Templates: time 0.01501/0.04808, allocations: 9.663 MB / 291.9 MB, free: 13.45 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.009385108947754]