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.001171/0.001171, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002049/0.00322, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001241/0.001241, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001692/0.002933, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 0.9456/0.9456, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1673/1.113, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.7 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.834e-06/1.834e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.409e-05, allocations: 6.312 kB / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.007836/0.00786, allocations: 3.917 MB / 225.9 MB, free: 12.11 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005661/0.01352, allocations: 1.379 MB / 227.3 MB, free: 10.71 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003371/0.01386, allocations: 11.94 kB / 227.3 MB, free: 10.7 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00369/0.01755, allocations: 254.6 kB / 227.6 MB, free: 10.45 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006195/0.01817, allocations: 266.1 kB / 227.8 MB, free: 10.19 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006772/0.01885, allocations: 279.2 kB / 228.1 MB, free: 9.918 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007991/0.01964, allocations: 0.7316 MB / 228.8 MB, free: 9.184 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.01986, allocations: 114.2 kB / 228.9 MB, free: 9.07 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003965/0.02383, allocations: 492 kB / 229.4 MB, free: 8.59 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003744/0.0242, allocations: 239.3 kB / 229.6 MB, free: 8.355 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.786e-05/0.02429, allocations: 52 kB / 229.7 MB, free: 8.305 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.02458, allocations: 99.89 kB / 229.8 MB, free: 8.207 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.02471, allocations: 115.6 kB / 229.9 MB, free: 8.094 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002519/0.02496, allocations: 167.6 kB / 230.1 MB, free: 7.93 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006703/0.02563, allocations: 462.2 kB / 230.5 MB, free: 7.477 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.549e-05/0.02565, allocations: 4 kB / 230.5 MB, free: 7.473 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.02565, allocations: 4 kB / 230.5 MB, free: 7.469 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.02567, allocations: 0 / 230.5 MB, free: 7.469 MB / 234.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.001797/0.02746, allocations: 0.9574 MB / 231.5 MB, free: 6.48 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.0275, allocations: 12.03 kB / 231.5 MB, free: 6.469 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.02762, allocations: 76.86 kB / 231.6 MB, free: 6.395 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.02807, allocations: 304.4 kB / 231.9 MB, free: 6.066 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.02811, allocations: 33.36 kB / 231.9 MB, free: 6.035 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.02817, allocations: 40.38 kB / 231.9 MB, free: 5.996 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.02868, allocations: 438.7 kB / 232.4 MB, free: 5.52 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.02869, allocations: 3.938 kB / 232.4 MB, free: 5.516 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.02872, allocations: 19.98 kB / 232.4 MB, free: 5.496 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.02873, allocations: 12 kB / 232.4 MB, free: 5.484 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.02894, allocations: 117.7 kB / 232.5 MB, free: 5.367 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.03032, allocations: 1.231 MB / 233.8 MB, free: 4.074 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.0306, allocations: 285.3 kB / 234 MB, free: 3.785 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.037e-05/0.0307, allocations: 84.83 kB / 234.1 MB, free: 3.699 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.03072, allocations: 11.75 kB / 234.1 MB, free: 3.688 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.03095, allocations: 308 kB / 234.4 MB, free: 3.332 MB / 234.7 MB Notification: Performance of pre-optimization done (n=40): time 1.432e-06/0.03095, allocations: 0 / 234.4 MB, free: 3.332 MB / 234.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007868/0.03174, allocations: 484.1 kB / 234.9 MB, free: 2.84 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.03177, allocations: 59.39 kB / 235 MB, free: 2.77 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.03202, allocations: 380.9 kB / 235.3 MB, free: 2.383 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.03204, allocations: 37.7 kB / 235.4 MB, free: 2.34 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.03215, allocations: 213.6 kB / 235.6 MB, free: 2.125 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.45e-05/0.03222, allocations: 130.9 kB / 235.7 MB, free: 1.996 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.051e-05/0.0323, allocations: 78.11 kB / 235.8 MB, free: 1.914 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.03239, allocations: 366.7 kB / 236.1 MB, free: 1.547 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.949e-05/0.03245, allocations: 39.81 kB / 236.2 MB, free: 1.504 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.03259, allocations: 257.5 kB / 236.4 MB, free: 1.191 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.03274, allocations: 166.6 kB / 236.6 MB, free: 1.016 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.03274, allocations: 0 / 236.6 MB, free: 1.016 MB / 234.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002806/0.03302, allocations: 268.6 kB / 236.8 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.03304, allocations: 8.094 kB / 236.9 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.03305, allocations: 4 kB / 236.9 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002469/0.03329, allocations: 115.3 kB / 237 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.03342, allocations: 55.91 kB / 237 MB, free: 0.543 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/0.03631, allocations: 5.531 MB / 242.6 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.03655, allocations: 51.98 kB / 242.6 MB, free: 10.62 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.03657, allocations: 15.98 kB / 242.6 MB, free: 10.6 MB / 250.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.0001451/0.03672, allocations: 146.5 kB / 242.8 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.03678, allocations: 43.95 kB / 242.8 MB, free: 10.41 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/0.03726, allocations: 313 kB / 243.1 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.03726, allocations: 4 kB / 243.1 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-07/0.03726, allocations: 0 / 243.1 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.03727, allocations: 4 kB / 243.1 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.03758, allocations: 249.5 kB / 243.4 MB, free: 9.812 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.03758, allocations: 0 / 243.4 MB, free: 9.812 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.03769, allocations: 31.92 kB / 243.4 MB, free: 9.781 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.03781, allocations: 59.59 kB / 243.5 MB, free: 9.723 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002805/0.03809, allocations: 119.3 kB / 243.6 MB, free: 9.594 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.03811, allocations: 11.94 kB / 243.6 MB, free: 9.582 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002681/0.04079, allocations: 5.229 MB / 248.8 MB, free: 4.012 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.04079, allocations: 0 / 248.8 MB, free: 4.012 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.04112, allocations: 325.6 kB / 249.1 MB, free: 3.66 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.04116, allocations: 15.92 kB / 249.1 MB, free: 3.645 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.04127, allocations: 28.05 kB / 249.2 MB, free: 3.617 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.0414, allocations: 63.61 kB / 249.2 MB, free: 3.555 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.04143, allocations: 8 kB / 249.2 MB, free: 3.547 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001519/0.04158, allocations: 167.5 kB / 249.4 MB, free: 3.383 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04158, allocations: 4 kB / 249.4 MB, free: 3.379 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000532/0.04211, allocations: 171.7 kB / 249.6 MB, free: 3.211 MB / 250.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.001299/0.04341, allocations: 0.5796 MB / 250.2 MB, free: 2.66 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005685/0.04398, allocations: 0.6783 MB / 250.8 MB, free: 1.93 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.53e-05/0.044, allocations: 8 kB / 250.8 MB, free: 1.922 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.04436, allocations: 0.6049 MB / 251.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005794/0.04494, allocations: 1.003 MB / 252.5 MB, free: 60 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/0.04837, allocations: 0.9233 MB / 253.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.632e-05/0.04847, allocations: 134.4 kB / 253.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.04858, allocations: 39.3 kB / 253.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.04877, allocations: 145.3 kB / 253.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of SimCode: time 8.91e-07/0.04877, allocations: 0 / 253.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of Templates: time 0.01205/0.06083, allocations: 10.1 MB / 263.8 MB, free: 4.641 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 240] 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","",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: 3.1605714643374085]