Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001528/0.001528, allocations: 84.69 kB / 21.43 MB, free: 296 kB / 14.72 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.001615/0.001615, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 299 MB, free: 8.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.9e-05, allocations: 2.281 kB / 299 MB, free: 8.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005262/0.005291, allocations: 3.592 MB / 302.5 MB, free: 5.105 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.007893, allocations: 1.31 MB / 303.9 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.008154, allocations: 11.88 kB / 303.9 MB, free: 3.773 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008505/0.009005, allocations: 266.6 kB / 304.1 MB, free: 3.512 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005885/0.009593, allocations: 262.2 kB / 304.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006471/0.01024, allocations: 279.2 kB / 304.7 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007726/0.01101, allocations: 0.7278 MB / 305.4 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002295/0.01124, allocations: 109.5 kB / 305.5 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004824/0.01172, allocations: 407.1 kB / 305.9 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.01206, allocations: 235.3 kB / 306.1 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.548e-05/0.01214, allocations: 55.94 kB / 306.2 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.01237, allocations: 99.89 kB / 306.3 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.01256, allocations: 147.5 kB / 306.4 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.01283, allocations: 199.5 kB / 306.6 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008074/0.01363, allocations: 0.7281 MB / 307.3 MB, free: 300 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.01364, allocations: 3.938 kB / 307.3 MB, free: 296 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01364, allocations: 0 / 307.3 MB, free: 296 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.01365, allocations: 0 / 307.3 MB, free: 296 kB / 286.1 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.001679/0.01533, allocations: 0.877 MB / 308.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.01537, allocations: 11.98 kB / 308.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.01549, allocations: 68.52 kB / 308.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.01604, allocations: 355.6 kB / 308.6 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.01608, allocations: 33.38 kB / 308.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.01615, allocations: 44.36 kB / 308.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00082/0.01697, allocations: 0.5235 MB / 309.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.01698, allocations: 3.938 kB / 309.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.394e-05/0.01703, allocations: 16 kB / 309.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.01704, allocations: 12 kB / 309.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006203/0.01766, allocations: 311.8 kB / 309.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.02, allocations: 1.494 MB / 311.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/0.02072, allocations: 326.9 kB / 311.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.02105, allocations: 160.7 kB / 311.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.02108, allocations: 4 kB / 311.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005503/0.02163, allocations: 369.2 kB / 311.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.913e-06/0.02164, allocations: 4 kB / 311.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002258/0.02389, allocations: 0.7158 MB / 312.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.02401, allocations: 162.2 kB / 312.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005889/0.0246, allocations: 477.9 kB / 313.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.02464, allocations: 33.7 kB / 313.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.02486, allocations: 260.7 kB / 313.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.02497, allocations: 130.9 kB / 313.7 MB, free: 9.625 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.0251, allocations: 74.2 kB / 313.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.02527, allocations: 362.7 kB / 314.1 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.02558, allocations: 125 kB / 314.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004375/0.02601, allocations: 345.5 kB / 314.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/0.02656, allocations: 269.3 kB / 314.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.02656, allocations: 0 / 314.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009127/0.02747, allocations: 477.3 kB / 315.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.02749, allocations: 8 kB / 315.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.0275, allocations: 0 / 315.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005475/0.02805, allocations: 151.3 kB / 315.4 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.02829, allocations: 55.89 kB / 315.5 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005719/0.03401, allocations: 6.115 MB / 321.6 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.03446, allocations: 55.94 kB / 321.7 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.03449, allocations: 8 kB / 321.7 MB, free: 1.102 MB / 302.1 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.000331/0.03482, allocations: 191.7 kB / 321.9 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.292e-05/0.03491, allocations: 55.61 kB / 321.9 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.03604, allocations: 0.4969 MB / 322.4 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.03605, allocations: 4 kB / 322.4 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.03605, allocations: 7.875 kB / 322.4 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.03606, allocations: 3.984 kB / 322.4 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.167/0.2031, allocations: 352.5 kB / 322.8 MB, free: 33.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.2031, allocations: 0.625 kB / 322.8 MB, free: 33.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.2034, allocations: 30.09 kB / 322.8 MB, free: 33.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005357/0.2039, allocations: 153.4 kB / 323 MB, free: 33.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.2039, allocations: 16.16 kB / 323 MB, free: 33.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003768/0.2077, allocations: 5.824 MB / 328.8 MB, free: 28.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2077, allocations: 0 / 328.8 MB, free: 28.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.2088, allocations: 0.51 MB / 329.3 MB, free: 28.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.209, allocations: 86.08 kB / 329.4 MB, free: 28.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.545e-05/0.209, allocations: 11.28 kB / 329.4 MB, free: 28.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.2093, allocations: 30.64 kB / 329.4 MB, free: 28.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.2095, allocations: 56.5 kB / 329.5 MB, free: 28.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.2095, allocations: 13.88 kB / 329.5 MB, free: 28.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004237/0.2099, allocations: 340.4 kB / 329.8 MB, free: 28.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2099, allocations: 3.5 kB / 329.8 MB, free: 28.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008255/0.2108, allocations: 178.3 kB / 330 MB, free: 28.37 MB / 302.1 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.001643/0.2124, allocations: 461.7 kB / 330.5 MB, free: 28.06 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.2135, allocations: 0.7863 MB / 331.2 MB, free: 27.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.2135, allocations: 0 / 331.2 MB, free: 27.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006499/0.2142, allocations: 0.6416 MB / 331.9 MB, free: 26.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/0.2147, allocations: 105.3 kB / 332 MB, free: 26.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.2168, allocations: 0.9485 MB / 332.9 MB, free: 26.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.2171, allocations: 268.6 kB / 333.2 MB, free: 26.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.2173, allocations: 50.61 kB / 333.2 MB, free: 26.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.858e-05/0.2174, allocations: 30.41 kB / 333.3 MB, free: 26.32 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2174, allocations: 3.969 kB / 333.3 MB, free: 26.32 MB / 302.1 MB Notification: Performance of Templates: time 0.01695/0.2343, allocations: 9.009 MB / 342.3 MB, free: 23.36 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.582919057458639]