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.001393/0.001393, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002238/0.003631, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.001234/0.001234, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002067/0.003301, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 1.015/1.015, allocations: 173.4 MB / 185.9 MB, free: 8.918 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09172/1.106, allocations: 52.49 MB / 238.4 MB, free: 4.367 MB / 234.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.303e-06/1.303e-06, allocations: 0 / 239.7 MB, free: 3.074 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.645e-05, allocations: 3.297 kB / 239.7 MB, free: 3.07 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.003821/0.003847, allocations: 3.964 MB / 243.7 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.005693, allocations: 1.445 MB / 245.1 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.005905, allocations: 11.94 kB / 245.2 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005643/0.00647, allocations: 254.6 kB / 245.4 MB, free: 13.38 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004148/0.006884, allocations: 274 kB / 245.7 MB, free: 13.11 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.007335, allocations: 295.1 kB / 246 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005473/0.007882, allocations: 0.7277 MB / 246.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.008067, allocations: 122.1 kB / 246.8 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004555/0.008523, allocations: 488.1 kB / 247.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.008775, allocations: 239.3 kB / 247.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.509e-05/0.00883, allocations: 52 kB / 247.6 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.008999, allocations: 95.91 kB / 247.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.0091, allocations: 115.6 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.009232, allocations: 167.6 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004391/0.009671, allocations: 474.2 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.211e-05/0.009684, allocations: 0 / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.009684, allocations: 0 / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.009701, allocations: 0 / 248.4 MB, free: 10.36 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.001058/0.01076, allocations: 0.9652 MB / 249.4 MB, free: 9.355 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.01079, allocations: 8.031 kB / 249.4 MB, free: 9.348 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.964e-05/0.01088, allocations: 80.88 kB / 249.5 MB, free: 9.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.0112, allocations: 304.4 kB / 249.8 MB, free: 8.945 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.01122, allocations: 29.38 kB / 249.8 MB, free: 8.914 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.01126, allocations: 44.3 kB / 249.8 MB, free: 8.871 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.01161, allocations: 434.8 kB / 250.3 MB, free: 8.402 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.01162, allocations: 3.938 kB / 250.3 MB, free: 8.398 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.01165, allocations: 16 kB / 250.3 MB, free: 8.383 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.01165, allocations: 8 kB / 250.3 MB, free: 8.375 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.0118, allocations: 125.7 kB / 250.4 MB, free: 8.25 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.01294, allocations: 1.223 MB / 251.6 MB, free: 6.965 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.01322, allocations: 282.2 kB / 251.9 MB, free: 6.676 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.079e-05/0.01332, allocations: 88.59 kB / 252 MB, free: 6.586 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.01334, allocations: 8 kB / 252 MB, free: 6.578 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.01358, allocations: 316 kB / 252.3 MB, free: 6.215 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 1.743e-06/0.01358, allocations: 0 / 252.3 MB, free: 6.215 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007685/0.01435, allocations: 473.1 kB / 252.8 MB, free: 5.734 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.01438, allocations: 67.33 kB / 252.8 MB, free: 5.656 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.01463, allocations: 388.9 kB / 253.2 MB, free: 5.266 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.01465, allocations: 33.7 kB / 253.2 MB, free: 5.227 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.225e-05/0.01474, allocations: 209.6 kB / 253.4 MB, free: 5.016 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.467e-05/0.0148, allocations: 134.9 kB / 253.6 MB, free: 4.883 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.577e-05/0.01488, allocations: 70.17 kB / 253.6 MB, free: 4.809 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.768e-05/0.01497, allocations: 366.7 kB / 254 MB, free: 4.441 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.007e-05/0.01503, allocations: 47.81 kB / 254.1 MB, free: 4.391 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.01516, allocations: 249.5 kB / 254.3 MB, free: 4.086 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.01532, allocations: 166.9 kB / 254.5 MB, free: 3.91 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.01532, allocations: 4 kB / 254.5 MB, free: 3.906 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002672/0.01559, allocations: 272.3 kB / 254.7 MB, free: 3.621 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.0156, allocations: 8.094 kB / 254.7 MB, free: 3.613 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01561, allocations: 0 / 254.7 MB, free: 3.613 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002442/0.01585, allocations: 115.3 kB / 254.9 MB, free: 3.488 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.01599, allocations: 55.91 kB / 254.9 MB, free: 3.434 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/0.01844, allocations: 5.543 MB / 260.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.01859, allocations: 51.86 kB / 260.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.0186, allocations: 15.92 kB / 260.5 MB, free: 13.48 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: 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.0001102/0.01871, allocations: 146.6 kB / 260.7 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.01875, allocations: 43.95 kB / 260.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003456/0.0191, allocations: 320.7 kB / 261 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.0191, allocations: 4 kB / 261 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.12e-07/0.0191, allocations: 0 / 261 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.01911, allocations: 0 / 261 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.01933, allocations: 245.6 kB / 261.3 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01933, allocations: 4 kB / 261.3 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-05/0.01941, allocations: 35.92 kB / 261.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.01949, allocations: 55.64 kB / 261.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001864/0.01968, allocations: 119.3 kB / 261.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.01969, allocations: 11.94 kB / 261.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.0218, allocations: 5.232 MB / 266.7 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.0218, allocations: 0 / 266.7 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.02211, allocations: 321.7 kB / 267 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.02215, allocations: 7.938 kB / 267 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.02226, allocations: 40.22 kB / 267.1 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.545e-05/0.02235, allocations: 55.89 kB / 267.1 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.02237, allocations: 8 kB / 267.1 MB, free: 6.422 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001237/0.02249, allocations: 171.5 kB / 267.3 MB, free: 6.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02249, allocations: 0 / 267.3 MB, free: 6.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004228/0.02292, allocations: 175.7 kB / 267.5 MB, free: 6.078 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.001235/0.02415, allocations: 0.5727 MB / 268 MB, free: 5.777 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005205/0.02467, allocations: 0.6635 MB / 268.7 MB, free: 5.062 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/0.02469, allocations: 12.22 kB / 268.7 MB, free: 5.051 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.025, allocations: 0.62 MB / 269.3 MB, free: 4.375 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.0255, allocations: 0.9888 MB / 270.3 MB, free: 3.195 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.02888, allocations: 0.9298 MB / 271.3 MB, free: 2.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.043e-05/0.02896, allocations: 138.4 kB / 271.4 MB, free: 2.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.744e-05/0.02906, allocations: 35.31 kB / 271.4 MB, free: 2.035 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.02924, allocations: 149.3 kB / 271.6 MB, free: 1.891 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02924, allocations: 0 / 271.6 MB, free: 1.891 MB / 266.7 MB Notification: Performance of Templates: time 0.01161/0.04086, allocations: 10.09 MB / 281.7 MB, free: 7.957 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.828541581518948]