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.001111/0.001111, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001684/0.002794, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0008021/0.0008021, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009532/0.001755, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9756/0.9756, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09335/1.069, allocations: 53.86 MB / 243.8 MB, free: 14.91 MB / 250.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.433e-06/1.433e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.148e-05, allocations: 5.688 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004146/0.004168, allocations: 3.988 MB / 249 MB, free: 9.617 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002632/0.0068, allocations: 1.643 MB / 250.7 MB, free: 7.965 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002927/0.007092, allocations: 7.938 kB / 250.7 MB, free: 7.957 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005545/0.007647, allocations: 242.7 kB / 250.9 MB, free: 7.719 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005543/0.008201, allocations: 325.9 kB / 251.2 MB, free: 7.398 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.008759, allocations: 274.5 kB / 251.5 MB, free: 7.133 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007153/0.009474, allocations: 0.7511 MB / 252.2 MB, free: 6.379 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.009679, allocations: 118.2 kB / 252.4 MB, free: 6.262 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006092/0.01029, allocations: 0.4883 MB / 252.9 MB, free: 5.773 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.01059, allocations: 239.3 kB / 253.1 MB, free: 5.539 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.01065, allocations: 52 kB / 253.1 MB, free: 5.488 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.01086, allocations: 107.9 kB / 253.2 MB, free: 5.383 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.01096, allocations: 111.6 kB / 253.4 MB, free: 5.273 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.01111, allocations: 167.6 kB / 253.5 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007235/0.01183, allocations: 486.2 kB / 254 MB, free: 4.633 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.919e-05/0.01185, allocations: 0 / 254 MB, free: 4.633 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.01185, allocations: 0 / 254 MB, free: 4.633 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.346e-05/0.01189, allocations: 0 / 254 MB, free: 4.633 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.001737/0.01362, allocations: 0.9845 MB / 255 MB, free: 3.613 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.01366, allocations: 8.625 kB / 255 MB, free: 3.605 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.0139, allocations: 162 kB / 255.1 MB, free: 3.43 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.01427, allocations: 312.4 kB / 255.4 MB, free: 3.098 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.202e-05/0.01436, allocations: 29.38 kB / 255.5 MB, free: 3.066 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.0144, allocations: 40.38 kB / 255.5 MB, free: 3.027 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.01477, allocations: 434.8 kB / 255.9 MB, free: 2.559 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.01478, allocations: 192 / 255.9 MB, free: 2.559 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.0148, allocations: 16.38 kB / 256 MB, free: 2.543 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.01481, allocations: 15.94 kB / 256 MB, free: 2.527 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.01497, allocations: 117.7 kB / 256.1 MB, free: 2.41 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.0162, allocations: 1.227 MB / 257.3 MB, free: 1.121 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.0165, allocations: 278.9 kB / 257.6 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.335e-05/0.01659, allocations: 88.81 kB / 257.7 MB, free: 0.75 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.01661, allocations: 7.75 kB / 257.7 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.01684, allocations: 304 kB / 258 MB, free: 400 kB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 1.583e-06/0.01684, allocations: 4 kB / 258 MB, free: 396 kB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007984/0.01764, allocations: 485.1 kB / 258.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.01767, allocations: 55.41 kB / 258.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.01791, allocations: 396.8 kB / 258.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.01794, allocations: 33.7 kB / 258.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.221e-05/0.01803, allocations: 217.6 kB / 259.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.442e-05/0.0181, allocations: 126.9 kB / 259.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.803e-05/0.01818, allocations: 78.11 kB / 259.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.476e-05/0.01826, allocations: 358.7 kB / 259.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.091e-05/0.01832, allocations: 51.73 kB / 259.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.01845, allocations: 257.5 kB / 260 MB, free: 14.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.0186, allocations: 159 kB / 260.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.0186, allocations: 4 kB / 260.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002702/0.01887, allocations: 271.1 kB / 260.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.01889, allocations: 8 kB / 260.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.0189, allocations: 0 / 260.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002393/0.01914, allocations: 123.4 kB / 260.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.01927, allocations: 55.91 kB / 260.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002835/0.0221, allocations: 5.525 MB / 266.1 MB, free: 7.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.02228, allocations: 47.75 kB / 266.2 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.0223, allocations: 16.06 kB / 266.2 MB, free: 7.652 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.0001437/0.02244, allocations: 138.5 kB / 266.3 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.02249, allocations: 47.95 kB / 266.4 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003557/0.02285, allocations: 308.9 kB / 266.7 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.02285, allocations: 8.031 kB / 266.7 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.02285, allocations: 4 kB / 266.7 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.02286, allocations: 11.97 kB / 266.7 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.0231, allocations: 249.6 kB / 266.9 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.02311, allocations: 4 kB / 266.9 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.858e-05/0.02319, allocations: 39.91 kB / 267 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.82e-05/0.02328, allocations: 59.59 kB / 267 MB, free: 6.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001956/0.02348, allocations: 111.3 kB / 267.1 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.0235, allocations: 11.98 kB / 267.2 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002494/0.02599, allocations: 5.236 MB / 272.4 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.02599, allocations: 0 / 272.4 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.02636, allocations: 329.6 kB / 272.7 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/0.0264, allocations: 8 kB / 272.7 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.02651, allocations: 36.12 kB / 272.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.02662, allocations: 59.84 kB / 272.8 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.02664, allocations: 11.98 kB / 272.8 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001513/0.02679, allocations: 171.5 kB / 273 MB, free: 416 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02679, allocations: 0 / 273 MB, free: 416 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005469/0.02734, allocations: 175.7 kB / 273.2 MB, free: 240 kB / 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.001204/0.02855, allocations: 0.56 MB / 273.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006113/0.02916, allocations: 0.6664 MB / 274.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-05/0.02918, allocations: 8 kB / 274.4 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003685/0.02954, allocations: 0.5968 MB / 275 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.02988, allocations: 153.3 kB / 275.1 MB, free: 14.37 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.0338, allocations: 0.939 MB / 276.1 MB, free: 13.4 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.0339, allocations: 142.3 kB / 276.2 MB, free: 13.24 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.03405, allocations: 43.33 kB / 276.3 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.03425, allocations: 153.2 kB / 276.4 MB, free: 13.04 MB / 282.7 MB Notification: Performance of SimCode: time 1.293e-06/0.03425, allocations: 0 / 276.4 MB, free: 13.04 MB / 282.7 MB Notification: Performance of Templates: time 0.0128/0.04705, allocations: 10.05 MB / 286.5 MB, free: 3.125 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=240 -emit_protected -ignoreHideResult -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: 2.8530107466503978]