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.0009618/0.0009618, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001479/0.002441, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007926/0.0007926, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.001833, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 1.079/1.079, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09733/1.177, allocations: 53.87 MB / 243.9 MB, free: 14.83 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.783e-06/1.783e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.427e-05, allocations: 2.312 kB / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004225/0.004249, allocations: 3.999 MB / 249.2 MB, free: 9.508 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.00639, allocations: 1.646 MB / 250.9 MB, free: 7.852 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.006608, allocations: 15.88 kB / 250.9 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005183/0.007127, allocations: 234.7 kB / 251.1 MB, free: 7.605 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000486/0.007613, allocations: 329.8 kB / 251.4 MB, free: 7.281 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.008073, allocations: 279.1 kB / 251.7 MB, free: 7.008 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006403/0.008714, allocations: 0.7434 MB / 252.4 MB, free: 6.262 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.008928, allocations: 126.1 kB / 252.6 MB, free: 6.133 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005362/0.009464, allocations: 496.1 kB / 253.1 MB, free: 5.648 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.009722, allocations: 239.3 kB / 253.3 MB, free: 5.414 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.597e-05/0.009778, allocations: 55.94 kB / 253.3 MB, free: 5.359 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.00996, allocations: 111.8 kB / 253.4 MB, free: 5.25 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.846e-05/0.01006, allocations: 115.6 kB / 253.6 MB, free: 5.137 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.01019, allocations: 163.6 kB / 253.7 MB, free: 4.977 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004405/0.01063, allocations: 482.2 kB / 254.2 MB, free: 4.504 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.253e-05/0.01064, allocations: 0 / 254.2 MB, free: 4.504 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01065, allocations: 0 / 254.2 MB, free: 4.504 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.01066, allocations: 0 / 254.2 MB, free: 4.504 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.001244/0.0119, allocations: 0.9807 MB / 255.2 MB, free: 3.488 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.01193, allocations: 8.625 kB / 255.2 MB, free: 3.48 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.01213, allocations: 162 kB / 255.3 MB, free: 3.305 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.01247, allocations: 316.3 kB / 255.6 MB, free: 2.969 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.0125, allocations: 29.38 kB / 255.7 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.01254, allocations: 40.38 kB / 255.7 MB, free: 2.898 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.01289, allocations: 430.8 kB / 256.1 MB, free: 2.434 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.0129, allocations: 4.125 kB / 256.1 MB, free: 2.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.01292, allocations: 16.38 kB / 256.2 MB, free: 2.414 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.01293, allocations: 15.94 kB / 256.2 MB, free: 2.398 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.01309, allocations: 129.7 kB / 256.3 MB, free: 2.27 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.01418, allocations: 1.215 MB / 257.5 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.01447, allocations: 282 kB / 257.8 MB, free: 0.707 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.957e-05/0.01457, allocations: 92.8 kB / 257.9 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.0146, allocations: 7.75 kB / 257.9 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.01484, allocations: 308 kB / 258.2 MB, free: 256 kB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 2.154e-06/0.01484, allocations: 0 / 258.2 MB, free: 256 kB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007931/0.01564, allocations: 481.1 kB / 258.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.01567, allocations: 55.41 kB / 258.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.01592, allocations: 400.8 kB / 259.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.01594, allocations: 37.7 kB / 259.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.857e-05/0.01604, allocations: 213.6 kB / 259.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.322e-05/0.0161, allocations: 126.9 kB / 259.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.017e-05/0.01618, allocations: 82.09 kB / 259.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.01629, allocations: 362.7 kB / 259.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.961e-05/0.01636, allocations: 51.8 kB / 260 MB, free: 14.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.01649, allocations: 253.5 kB / 260.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.01664, allocations: 162.7 kB / 260.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01664, allocations: 0 / 260.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002735/0.01692, allocations: 264.6 kB / 260.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.01693, allocations: 4 kB / 260.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.01694, allocations: 8.031 kB / 260.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002496/0.01719, allocations: 119.3 kB / 260.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.01733, allocations: 59.91 kB / 260.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/0.02018, allocations: 5.528 MB / 266.3 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.02034, allocations: 51.86 kB / 266.4 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.02035, allocations: 8 kB / 266.4 MB, free: 7.52 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.0001177/0.02047, allocations: 154.7 kB / 266.5 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.02051, allocations: 43.95 kB / 266.6 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003499/0.02086, allocations: 309.2 kB / 266.9 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.02086, allocations: 11.94 kB / 266.9 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.02087, allocations: 0 / 266.9 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.02087, allocations: 3.984 kB / 266.9 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.02112, allocations: 253.4 kB / 267.2 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.02112, allocations: 0 / 267.2 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.64e-05/0.0212, allocations: 31.97 kB / 267.2 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.02132, allocations: 59.59 kB / 267.2 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002698/0.02159, allocations: 119.3 kB / 267.4 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.0216, allocations: 8 kB / 267.4 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/0.02379, allocations: 5.232 MB / 272.6 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02379, allocations: 0 / 272.6 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.02411, allocations: 325.6 kB / 272.9 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.02415, allocations: 12 kB / 272.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.02426, allocations: 35.94 kB / 273 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.351e-05/0.02435, allocations: 51.91 kB / 273 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.02438, allocations: 16.03 kB / 273 MB, free: 452 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001409/0.02452, allocations: 175.5 kB / 273.2 MB, free: 276 kB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02452, allocations: 0 / 273.2 MB, free: 276 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004817/0.025, allocations: 171.7 kB / 273.4 MB, free: 104 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.001234/0.02623, allocations: 0.5695 MB / 273.9 MB, free: 15.76 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005073/0.02674, allocations: 0.6743 MB / 274.6 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/0.02675, allocations: 8 kB / 274.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.02712, allocations: 0.6165 MB / 275.2 MB, free: 14.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008405/0.02796, allocations: 0.9966 MB / 276.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.03135, allocations: 0.935 MB / 277.2 MB, free: 12.19 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.169e-05/0.03144, allocations: 138.4 kB / 277.3 MB, free: 12.03 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000102/0.03154, allocations: 39.34 kB / 277.3 MB, free: 11.99 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.03172, allocations: 149.2 kB / 277.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.03172, allocations: 4 kB / 277.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of Templates: time 0.01143/0.04315, allocations: 10.12 MB / 287.6 MB, free: 1.867 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9294345090165734]