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.0008984/0.0008984, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001044/0.001044, allocations: 166.8 kB / 25.61 MB, free: 8.582 MB / 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 0.9975/0.9975, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] 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 1.673e-06/1.673e-06, allocations: 0 / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.446e-05, allocations: 6.516 kB / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.003722/0.003736, allocations: 3.932 MB / 278.1 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.00584, allocations: 1.578 MB / 279.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.006069, allocations: 15.88 kB / 279.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005892/0.006658, allocations: 250.7 kB / 279.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004969/0.007155, allocations: 313.9 kB / 280.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.007638, allocations: 275.2 kB / 280.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005986/0.008237, allocations: 0.7549 MB / 281.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.008411, allocations: 113.5 kB / 281.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004076/0.008819, allocations: 411.1 kB / 281.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.009056, allocations: 239.3 kB / 282 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.009107, allocations: 52 kB / 282 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.009257, allocations: 115.9 kB / 282.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.009361, allocations: 143.5 kB / 282.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.009504, allocations: 207.4 kB / 282.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004995/0.01, allocations: 0.5137 MB / 283 MB, free: 11.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01001, allocations: 3.938 kB / 283 MB, free: 11.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.01001, allocations: 0 / 283 MB, free: 11.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.01001, allocations: 0 / 283 MB, free: 11.38 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.0009364/0.01095, allocations: 0.9847 MB / 284 MB, free: 10.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.01098, allocations: 8.031 kB / 284 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.01114, allocations: 112.5 kB / 284.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.01145, allocations: 367.1 kB / 284.5 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.01148, allocations: 33.38 kB / 284.5 MB, free: 9.812 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.01152, allocations: 44.36 kB / 284.5 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.01187, allocations: 430.1 kB / 285 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.01188, allocations: 4.188 kB / 285 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.01191, allocations: 16.38 kB / 285 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.01192, allocations: 11.94 kB / 285 MB, free: 9.262 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.01209, allocations: 142.8 kB / 285.1 MB, free: 9.125 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.01341, allocations: 1.614 MB / 286.7 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.01373, allocations: 259.6 kB / 287 MB, free: 7.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.01384, allocations: 99.62 kB / 287.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.01386, allocations: 12 kB / 287.1 MB, free: 7.047 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.0141, allocations: 316.8 kB / 287.4 MB, free: 6.676 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.402e-06/0.0141, allocations: 0 / 287.4 MB, free: 6.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.0008863/0.01499, allocations: 0.5599 MB / 288 MB, free: 6.094 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.01504, allocations: 166.2 kB / 288.1 MB, free: 5.895 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.01531, allocations: 450.4 kB / 288.6 MB, free: 5.441 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.01534, allocations: 37.7 kB / 288.6 MB, free: 5.398 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.01549, allocations: 315.3 kB / 288.9 MB, free: 5.086 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.599e-05/0.01556, allocations: 126.9 kB / 289 MB, free: 4.961 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.01565, allocations: 87.81 kB / 289.1 MB, free: 4.867 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.01578, allocations: 0.5312 MB / 289.7 MB, free: 4.324 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.603e-05/0.01585, allocations: 52.95 kB / 289.7 MB, free: 4.273 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.016, allocations: 287 kB / 290 MB, free: 3.922 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.01616, allocations: 160.6 kB / 290.1 MB, free: 3.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01616, allocations: 0 / 290.1 MB, free: 3.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003357/0.01649, allocations: 360.2 kB / 290.5 MB, free: 3.375 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.01651, allocations: 4 kB / 290.5 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.01651, allocations: 4.094 kB / 290.5 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000243/0.01675, allocations: 138.7 kB / 290.6 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.01687, allocations: 47.86 kB / 290.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0031/0.01997, allocations: 8.121 MB / 298.8 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.02013, allocations: 55.84 kB / 298.9 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.02015, allocations: 8 kB / 298.9 MB, free: 10.54 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.0001238/0.02027, allocations: 182.5 kB / 299.1 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.144e-05/0.02033, allocations: 63.67 kB / 299.1 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004384/0.02077, allocations: 384.4 kB / 299.5 MB, free: 9.887 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.02077, allocations: 4 kB / 299.5 MB, free: 9.883 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.02077, allocations: 4 kB / 299.5 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.02078, allocations: 0 / 299.5 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.02102, allocations: 284.8 kB / 299.8 MB, free: 9.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.02103, allocations: 0 / 299.8 MB, free: 9.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.713e-05/0.02109, allocations: 31.92 kB / 299.8 MB, free: 9.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001978/0.02129, allocations: 134.7 kB / 299.9 MB, free: 9.395 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.02131, allocations: 11.94 kB / 300 MB, free: 9.383 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002828/0.02413, allocations: 7.668 MB / 307.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.02414, allocations: 0 / 307.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004183/0.02455, allocations: 422.1 kB / 308 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.885e-05/0.02465, allocations: 87.48 kB / 308.1 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.02469, allocations: 4 kB / 308.1 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.02481, allocations: 28.02 kB / 308.1 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.463e-05/0.0249, allocations: 59.89 kB / 308.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.02492, allocations: 8 kB / 308.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001544/0.02507, allocations: 291 kB / 308.5 MB, free: 348 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02507, allocations: 0 / 308.5 MB, free: 348 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004801/0.02555, allocations: 175.8 kB / 308.7 MB, free: 172 kB / 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.0008603/0.02641, allocations: 419.3 kB / 309.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005797/0.02699, allocations: 0.9122 MB / 310 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.02699, allocations: 0 / 310 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004172/0.02741, allocations: 0.8189 MB / 310.8 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.02772, allocations: 119.8 kB / 310.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.02891, allocations: 0.8793 MB / 311.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.369e-05/0.029, allocations: 134.4 kB / 311.9 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.02912, allocations: 47.33 kB / 312 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.02931, allocations: 178.1 kB / 312.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02931, allocations: 0 / 312.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of Templates: time 0.01132/0.04063, allocations: 9.973 MB / 322.1 MB, free: 2.785 MB / 298.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 240] 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","",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.286514065694064]