Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001801/0.001801, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002235/0.002235, allocations: 160.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.721e-05/3.921e-05, allocations: 2.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.008414/0.008454, allocations: 3.667 MB / 275.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003256/0.01171, allocations: 1.554 MB / 277.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.01198, allocations: 11.94 kB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008505/0.01283, allocations: 262.6 kB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007433/0.01358, allocations: 302 kB / 278 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007053/0.01428, allocations: 287.1 kB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009448/0.01523, allocations: 0.751 MB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002659/0.01549, allocations: 121.4 kB / 279.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006337/0.01612, allocations: 407.1 kB / 279.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000397/0.01652, allocations: 243.3 kB / 279.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.032e-05/0.01661, allocations: 52 kB / 279.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.01687, allocations: 103.9 kB / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.01705, allocations: 151.4 kB / 280.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002687/0.01732, allocations: 203.5 kB / 280.3 MB, free: 9.672 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000992/0.01831, allocations: 0.7358 MB / 281 MB, free: 8.934 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.01832, allocations: 4 kB / 281 MB, free: 8.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01832, allocations: 4 kB / 281 MB, free: 8.926 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.01833, allocations: 0 / 281 MB, free: 8.926 MB / 266.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.001868/0.0202, allocations: 0.8887 MB / 281.9 MB, free: 8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001832/0.02038, allocations: 11.98 kB / 281.9 MB, free: 7.988 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003316/0.02071, allocations: 112.5 kB / 282 MB, free: 7.879 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/0.02134, allocations: 355.6 kB / 282.4 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.283e-05/0.02139, allocations: 33.38 kB / 282.4 MB, free: 7.473 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.943e-05/0.02147, allocations: 44.38 kB / 282.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008973/0.02236, allocations: 0.5235 MB / 283 MB, free: 6.855 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.02239, allocations: 4.188 kB / 283 MB, free: 6.852 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.02244, allocations: 20.38 kB / 283 MB, free: 6.832 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.02246, allocations: 11.94 kB / 283 MB, free: 6.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006697/0.02313, allocations: 311.8 kB / 283.3 MB, free: 6.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/0.02579, allocations: 1.51 MB / 284.8 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007479/0.02654, allocations: 334.8 kB / 285.2 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003437/0.02688, allocations: 156.8 kB / 285.3 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.02692, allocations: 11.75 kB / 285.3 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005925/0.02751, allocations: 361.2 kB / 285.7 MB, free: 4.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.705e-06/0.02751, allocations: 7.938 kB / 285.7 MB, free: 4.012 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.002309/0.02982, allocations: 0.7324 MB / 286.4 MB, free: 3.262 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/0.02999, allocations: 162.2 kB / 286.6 MB, free: 3.066 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008886/0.03087, allocations: 497.8 kB / 287.1 MB, free: 2.578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/0.03093, allocations: 37.69 kB / 287.1 MB, free: 2.535 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.03125, allocations: 260.7 kB / 287.3 MB, free: 2.277 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.03143, allocations: 127 kB / 287.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.0316, allocations: 74.19 kB / 287.5 MB, free: 2.074 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002629/0.03186, allocations: 358.8 kB / 287.9 MB, free: 1.715 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.03216, allocations: 129 kB / 288 MB, free: 1.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005333/0.03269, allocations: 333.5 kB / 288.3 MB, free: 1.203 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005747/0.03326, allocations: 277.3 kB / 288.6 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.03327, allocations: 4 kB / 288.6 MB, free: 0.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001335/0.0346, allocations: 493 kB / 289.1 MB, free: 428 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.03463, allocations: 8 kB / 289.1 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.03463, allocations: 0 / 289.1 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005893/0.03522, allocations: 159.3 kB / 289.3 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.03546, allocations: 47.91 kB / 289.3 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006896/0.04235, allocations: 6.131 MB / 295.4 MB, free: 9.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/0.04281, allocations: 55.94 kB / 295.5 MB, free: 9.605 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.04284, allocations: 12 kB / 295.5 MB, free: 9.594 MB / 282.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.0003526/0.0432, allocations: 187.8 kB / 295.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.04332, allocations: 67.61 kB / 295.8 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.04463, allocations: 0.4933 MB / 296.3 MB, free: 8.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.04464, allocations: 4 kB / 296.3 MB, free: 8.816 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.04464, allocations: 3.938 kB / 296.3 MB, free: 8.812 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.04465, allocations: 7.984 kB / 296.3 MB, free: 8.805 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005353/0.04518, allocations: 349 kB / 296.6 MB, free: 8.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.04519, allocations: 0 / 296.6 MB, free: 8.434 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.04533, allocations: 35.91 kB / 296.6 MB, free: 8.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004737/0.04581, allocations: 155.5 kB / 296.8 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.04583, allocations: 11.98 kB / 296.8 MB, free: 8.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00608/0.05191, allocations: 5.847 MB / 302.7 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.05192, allocations: 7.922 kB / 302.7 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.05333, allocations: 0.523 MB / 303.2 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.05354, allocations: 79.56 kB / 303.3 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.231e-05/0.0536, allocations: 12.12 kB / 303.3 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.05388, allocations: 31.97 kB / 303.3 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.05406, allocations: 55.89 kB / 303.4 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.0541, allocations: 12 kB / 303.4 MB, free: 1.219 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005116/0.05461, allocations: 351.1 kB / 303.7 MB, free: 0.875 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05461, allocations: 0 / 303.7 MB, free: 0.875 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008932/0.0555, allocations: 179.6 kB / 303.9 MB, free: 0.6992 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.002075/0.05758, allocations: 461.2 kB / 304.3 MB, free: 404 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.1206/0.1782, allocations: 0.7872 MB / 305.1 MB, free: 40.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.1782, allocations: 0 / 305.1 MB, free: 40.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007626/0.179, allocations: 0.6446 MB / 305.8 MB, free: 40.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006634/0.1796, allocations: 113.4 kB / 305.9 MB, free: 40.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.1815, allocations: 0.9843 MB / 306.9 MB, free: 40.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.1818, allocations: 265 kB / 307.1 MB, free: 39.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000219/0.1821, allocations: 47.97 kB / 307.2 MB, free: 39.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.369e-05/0.1822, allocations: 35.94 kB / 307.2 MB, free: 39.92 MB / 282.7 MB Notification: Performance of SimCode: time 1.833e-06/0.1822, allocations: 0 / 307.2 MB, free: 39.92 MB / 282.7 MB Notification: Performance of Templates: time 0.01667/0.1988, allocations: 9.092 MB / 316.3 MB, free: 37.48 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.7988337300485]