Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001128/0.001128, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00153/0.002658, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001133/0.001133, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001417/0.00255, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.076/1.076, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1037/1.18, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.013e-05, allocations: 6.312 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.003865/0.003885, allocations: 3.985 MB / 248.5 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.005949, allocations: 1.639 MB / 250.2 MB, free: 8.633 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.00615, allocations: 11.94 kB / 250.2 MB, free: 8.621 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004752/0.006625, allocations: 242.7 kB / 250.4 MB, free: 8.383 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004296/0.007055, allocations: 313.9 kB / 250.7 MB, free: 8.074 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.007478, allocations: 275.1 kB / 251 MB, free: 7.805 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005509/0.008029, allocations: 0.7395 MB / 251.7 MB, free: 7.062 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.008194, allocations: 122.1 kB / 251.9 MB, free: 6.941 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004557/0.008649, allocations: 0.4883 MB / 252.3 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.008891, allocations: 239.3 kB / 252.6 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.008943, allocations: 52 kB / 252.6 MB, free: 6.168 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.009122, allocations: 107.9 kB / 252.7 MB, free: 6.062 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.592e-05/0.009218, allocations: 111.6 kB / 252.8 MB, free: 5.953 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.009346, allocations: 163.6 kB / 253 MB, free: 5.793 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.009779, allocations: 482.2 kB / 253.5 MB, free: 5.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.00979, allocations: 0 / 253.5 MB, free: 5.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.009791, allocations: 0 / 253.5 MB, free: 5.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.009803, allocations: 4 kB / 253.5 MB, free: 5.316 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.0009468/0.01075, allocations: 0.9807 MB / 254.5 MB, free: 4.301 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.578e-05/0.01078, allocations: 11.97 kB / 254.5 MB, free: 4.289 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000435/0.01121, allocations: 162 kB / 254.6 MB, free: 4.113 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.01153, allocations: 312.3 kB / 254.9 MB, free: 3.781 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.01156, allocations: 29.38 kB / 255 MB, free: 3.75 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.01159, allocations: 40.38 kB / 255 MB, free: 3.711 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.01193, allocations: 438.8 kB / 255.4 MB, free: 3.234 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.01194, allocations: 3.938 kB / 255.4 MB, free: 3.23 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.01196, allocations: 16 kB / 255.4 MB, free: 3.215 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.01197, allocations: 12 kB / 255.5 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.01212, allocations: 117.7 kB / 255.6 MB, free: 3.086 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.01321, allocations: 1.219 MB / 256.8 MB, free: 1.805 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.01351, allocations: 289.4 kB / 257.1 MB, free: 1.516 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.848e-05/0.01361, allocations: 88.81 kB / 257.2 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.01363, allocations: 7.75 kB / 257.2 MB, free: 1.418 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.01389, allocations: 307.9 kB / 257.5 MB, free: 1.062 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 1.653e-06/0.01389, allocations: 0 / 257.5 MB, free: 1.062 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007684/0.01466, allocations: 485.1 kB / 257.9 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.01469, allocations: 55.41 kB / 258 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.01494, allocations: 396.8 kB / 258.4 MB, free: 108 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.01496, allocations: 33.7 kB / 258.4 MB, free: 68 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.01507, allocations: 221.6 kB / 258.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.293e-05/0.01513, allocations: 126.9 kB / 258.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.256e-05/0.01521, allocations: 74.16 kB / 258.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.0153, allocations: 358.7 kB / 259.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.897e-05/0.01536, allocations: 47.8 kB / 259.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.01549, allocations: 257.5 kB / 259.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.01564, allocations: 162.9 kB / 259.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01564, allocations: 4 kB / 259.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002532/0.01589, allocations: 267 kB / 259.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.01591, allocations: 11.59 kB / 259.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01591, allocations: 0 / 259.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002312/0.01615, allocations: 119.3 kB / 260 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.01632, allocations: 55.91 kB / 260.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/0.01892, allocations: 5.552 MB / 265.6 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.01909, allocations: 47.7 kB / 265.7 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.01911, allocations: 12 kB / 265.7 MB, free: 8.316 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.0001375/0.01925, allocations: 134.6 kB / 265.8 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.01929, allocations: 47.98 kB / 265.9 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/0.01964, allocations: 316.9 kB / 266.2 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01965, allocations: 4 kB / 266.2 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.01965, allocations: 0 / 266.2 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.01965, allocations: 7.984 kB / 266.2 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.0199, allocations: 249.6 kB / 266.4 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.01991, allocations: 4 kB / 266.4 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.887e-05/0.01998, allocations: 39.91 kB / 266.5 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.843e-05/0.02007, allocations: 63.59 kB / 266.5 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001897/0.02026, allocations: 115.4 kB / 266.7 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.02028, allocations: 15.92 kB / 266.7 MB, free: 7.281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/0.0224, allocations: 5.221 MB / 271.9 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.02241, allocations: 0 / 271.9 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.02274, allocations: 337.7 kB / 272.2 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.02277, allocations: 8.125 kB / 272.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.02288, allocations: 35.97 kB / 272.3 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-05/0.02297, allocations: 51.91 kB / 272.3 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.02299, allocations: 11.98 kB / 272.3 MB, free: 1.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001344/0.02313, allocations: 175.5 kB / 272.5 MB, free: 1.078 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02313, allocations: 0 / 272.5 MB, free: 1.078 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005104/0.02364, allocations: 179.7 kB / 272.7 MB, free: 0.9023 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.001213/0.02485, allocations: 0.5587 MB / 273.2 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005324/0.02538, allocations: 0.6702 MB / 273.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/0.02539, allocations: 8 kB / 273.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.0257, allocations: 0.5889 MB / 274.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.02599, allocations: 158.2 kB / 274.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/0.02953, allocations: 0.9427 MB / 275.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.441e-05/0.02962, allocations: 138.4 kB / 275.7 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.02973, allocations: 39.34 kB / 275.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.02991, allocations: 149.2 kB / 275.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02991, allocations: 4 kB / 275.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of Templates: time 0.01243/0.04234, allocations: 10.07 MB / 286 MB, free: 3.84 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.922407546080649]