Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 147 kB / 24.89 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9364/0.9364, allocations: 173.4 MB / 201.5 MB, free: 8.289 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 268.5 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.564e-05, allocations: 5.406 kB / 268.5 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006478/0.006503, allocations: 3.943 MB / 272.5 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003399/0.009903, allocations: 1.447 MB / 273.9 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003283/0.01023, allocations: 7.938 kB / 273.9 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007578/0.01099, allocations: 256.2 kB / 274.2 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005916/0.01158, allocations: 266.1 kB / 274.4 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005532/0.01213, allocations: 291.2 kB / 274.7 MB, free: 3.586 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005886/0.01272, allocations: 0.7277 MB / 275.4 MB, free: 2.855 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.01291, allocations: 126.1 kB / 275.6 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003714/0.01329, allocations: 403.1 kB / 276 MB, free: 2.328 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.01354, allocations: 243.3 kB / 276.2 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.885e-05/0.0136, allocations: 52 kB / 276.2 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.01378, allocations: 103.9 kB / 276.3 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.01389, allocations: 143.5 kB / 276.5 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.01402, allocations: 199.5 kB / 276.7 MB, free: 1.602 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004808/0.0145, allocations: 0.5098 MB / 277.2 MB, free: 1.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.01451, allocations: 0 / 277.2 MB, free: 1.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01451, allocations: 0 / 277.2 MB, free: 1.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.01451, allocations: 0 / 277.2 MB, free: 1.09 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.000847/0.01536, allocations: 0.8483 MB / 278 MB, free: 216 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.01539, allocations: 11.97 kB / 278.1 MB, free: 204 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.182e-05/0.01547, allocations: 72.88 kB / 278.1 MB, free: 132 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.0158, allocations: 304.4 kB / 278.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.01583, allocations: 29.38 kB / 278.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.01586, allocations: 40.38 kB / 278.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.01622, allocations: 434.8 kB / 278.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.01624, allocations: 3.938 kB / 278.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.01626, allocations: 16 kB / 278.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.01627, allocations: 12 kB / 278.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.01642, allocations: 121.7 kB / 279.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.0176, allocations: 1.223 MB / 280.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.01789, allocations: 279.5 kB / 280.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.671e-05/0.01798, allocations: 92.52 kB / 280.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.01801, allocations: 4 kB / 280.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.01824, allocations: 312 kB / 281 MB, free: 13.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.382e-06/0.01824, allocations: 0 / 281 MB, free: 13.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007908/0.01903, allocations: 481.1 kB / 281.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.01909, allocations: 166.2 kB / 281.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.01934, allocations: 380.9 kB / 282 MB, free: 12.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.01936, allocations: 37.7 kB / 282 MB, free: 11.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.826e-05/0.01945, allocations: 209.6 kB / 282.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.243e-05/0.01951, allocations: 134.9 kB / 282.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.877e-05/0.01959, allocations: 74.17 kB / 282.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.01971, allocations: 358.7 kB / 282.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.998e-05/0.01977, allocations: 47.75 kB / 282.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.01991, allocations: 265.5 kB / 283.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.02006, allocations: 162.8 kB / 283.2 MB, free: 10.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.02007, allocations: 0 / 283.2 MB, free: 10.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002732/0.02034, allocations: 271.3 kB / 283.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.02035, allocations: 4 kB / 283.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.02035, allocations: 0 / 283.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002298/0.02058, allocations: 123.5 kB / 283.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.02071, allocations: 51.91 kB / 283.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/0.02342, allocations: 5.536 MB / 289.2 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.02358, allocations: 47.86 kB / 289.2 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.0236, allocations: 15.98 kB / 289.3 MB, free: 4.234 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.0001167/0.02372, allocations: 138.5 kB / 289.4 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.02376, allocations: 47.95 kB / 289.4 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004156/0.02418, allocations: 312.8 kB / 289.8 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.02418, allocations: 4 kB / 289.8 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.02418, allocations: 4 kB / 289.8 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.02418, allocations: 0 / 289.8 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.02443, allocations: 249.5 kB / 290 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.02443, allocations: 0 / 290 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.949e-05/0.02451, allocations: 31.92 kB / 290 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001955/0.02471, allocations: 123.4 kB / 290.2 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.02472, allocations: 8 kB / 290.2 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002447/0.02717, allocations: 5.248 MB / 295.4 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.02717, allocations: 0 / 295.4 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.02751, allocations: 321.3 kB / 295.7 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.02761, allocations: 63.58 kB / 295.8 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.02765, allocations: 7.938 kB / 295.8 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.02776, allocations: 36 kB / 295.8 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.459e-05/0.02786, allocations: 55.89 kB / 295.9 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.02787, allocations: 8 kB / 295.9 MB, free: 13.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001364/0.02801, allocations: 171.5 kB / 296.1 MB, free: 13 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02801, allocations: 0 / 296.1 MB, free: 13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005088/0.02852, allocations: 167.8 kB / 296.2 MB, free: 12.84 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.001053/0.02957, allocations: 0.5329 MB / 296.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005362/0.03011, allocations: 0.6717 MB / 297.4 MB, free: 11.81 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.03012, allocations: 4 kB / 297.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003324/0.03045, allocations: 0.5968 MB / 298 MB, free: 11.15 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.03072, allocations: 105.6 kB / 298.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.03201, allocations: 0.8986 MB / 299 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.244e-05/0.0321, allocations: 134.4 kB / 299.2 MB, free: 9.973 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.03221, allocations: 43.28 kB / 299.2 MB, free: 9.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.03241, allocations: 145.3 kB / 299.3 MB, free: 9.785 MB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.03241, allocations: 0 / 299.3 MB, free: 9.785 MB / 282.7 MB Notification: Performance of Templates: time 0.01178/0.04419, allocations: 9.66 MB / 309 MB, free: 300 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8543093325570226]