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.001179/0.001179, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001642/0.002821, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001066/0.001066, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001597/0.002663, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9933/0.9933, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0845/1.078, allocations: 52.49 MB / 238.3 MB, free: 4.43 MB / 234.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.543e-06/1.543e-06, allocations: 0 / 239.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/2.003e-05, allocations: 2.875 kB / 239.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004147/0.004167, allocations: 3.964 MB / 243.5 MB, free: 15.18 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.005943, allocations: 1.445 MB / 245 MB, free: 13.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.006147, allocations: 11.94 kB / 245 MB, free: 13.72 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005384/0.006686, allocations: 246.7 kB / 245.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.007068, allocations: 278.1 kB / 245.5 MB, free: 13.2 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/0.007519, allocations: 295.1 kB / 245.8 MB, free: 12.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005061/0.008025, allocations: 0.7316 MB / 246.5 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.008192, allocations: 118.1 kB / 246.6 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000397/0.008589, allocations: 480.1 kB / 247.1 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.008818, allocations: 247.3 kB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.235e-05/0.008871, allocations: 48 kB / 247.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.009027, allocations: 103.9 kB / 247.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.245e-05/0.009119, allocations: 111.6 kB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.009252, allocations: 163.6 kB / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004211/0.009673, allocations: 474.2 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.348e-05/0.009686, allocations: 0 / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.009687, allocations: 0 / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.009703, allocations: 0 / 248.2 MB, free: 10.46 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.0009729/0.01068, allocations: 0.9691 MB / 249.2 MB, free: 9.457 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.0107, allocations: 8.031 kB / 249.2 MB, free: 9.449 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.274e-05/0.01079, allocations: 76.88 kB / 249.3 MB, free: 9.375 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.0111, allocations: 304.4 kB / 249.6 MB, free: 9.051 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.01112, allocations: 33.38 kB / 249.6 MB, free: 9.016 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.01116, allocations: 40.36 kB / 249.6 MB, free: 8.977 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.01151, allocations: 426.8 kB / 250.1 MB, free: 8.516 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.01153, allocations: 3.938 kB / 250.1 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.01155, allocations: 16 kB / 250.1 MB, free: 8.496 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.01156, allocations: 8 kB / 250.1 MB, free: 8.488 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.01173, allocations: 133.6 kB / 250.2 MB, free: 8.355 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.01285, allocations: 1.219 MB / 251.4 MB, free: 7.074 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.01319, allocations: 285.2 kB / 251.7 MB, free: 6.781 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.099e-05/0.01328, allocations: 88.58 kB / 251.8 MB, free: 6.691 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.0133, allocations: 12 kB / 251.8 MB, free: 6.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.01354, allocations: 308 kB / 252.1 MB, free: 6.324 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 1.823e-06/0.01354, allocations: 0 / 252.1 MB, free: 6.324 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007625/0.0143, allocations: 477.1 kB / 252.6 MB, free: 5.84 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.01433, allocations: 59.39 kB / 252.6 MB, free: 5.77 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.01457, allocations: 388.9 kB / 253 MB, free: 5.379 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.01459, allocations: 37.7 kB / 253 MB, free: 5.336 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.873e-05/0.01468, allocations: 209.6 kB / 253.3 MB, free: 5.125 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.01488, allocations: 134.9 kB / 253.4 MB, free: 4.992 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-05/0.01495, allocations: 74.16 kB / 253.5 MB, free: 4.914 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.01504, allocations: 366.7 kB / 253.8 MB, free: 4.547 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.829e-05/0.0151, allocations: 43.81 kB / 253.9 MB, free: 4.504 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.01523, allocations: 253.5 kB / 254.1 MB, free: 4.195 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.01538, allocations: 166.8 kB / 254.3 MB, free: 4.02 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01539, allocations: 0 / 254.3 MB, free: 4.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002665/0.01565, allocations: 267 kB / 254.5 MB, free: 3.738 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.01567, allocations: 8.094 kB / 254.5 MB, free: 3.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.01567, allocations: 7.984 kB / 254.5 MB, free: 3.723 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002367/0.01591, allocations: 123.3 kB / 254.7 MB, free: 3.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.01604, allocations: 51.91 kB / 254.7 MB, free: 3.539 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/0.01873, allocations: 5.539 MB / 260.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.01887, allocations: 51.86 kB / 260.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.01888, allocations: 15.98 kB / 260.3 MB, free: 13.59 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.0001057/0.01899, allocations: 134.6 kB / 260.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.01903, allocations: 43.95 kB / 260.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003538/0.01939, allocations: 321 kB / 260.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.01939, allocations: 4 kB / 260.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.02e-07/0.01939, allocations: 0 / 260.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01939, allocations: 0 / 260.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.01962, allocations: 249.5 kB / 261.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01962, allocations: 3.938 kB / 261.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.762e-05/0.0197, allocations: 27.98 kB / 261.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.671e-05/0.01978, allocations: 59.62 kB / 261.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001945/0.01998, allocations: 119.3 kB / 261.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.02, allocations: 15.94 kB / 261.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002445/0.02244, allocations: 5.236 MB / 266.5 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.02244, allocations: 0 / 266.5 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.02275, allocations: 325.4 kB / 266.8 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.02279, allocations: 19.92 kB / 266.9 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.02289, allocations: 28.05 kB / 266.9 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/0.02298, allocations: 55.89 kB / 266.9 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.02299, allocations: 8 kB / 266.9 MB, free: 6.531 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001194/0.02311, allocations: 167.5 kB / 267.1 MB, free: 6.363 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02311, allocations: 0 / 267.1 MB, free: 6.363 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004087/0.02352, allocations: 171.7 kB / 267.3 MB, free: 6.195 MB / 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.02476, allocations: 0.5703 MB / 267.8 MB, free: 5.898 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004673/0.02522, allocations: 0.6671 MB / 268.5 MB, free: 5.176 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/0.02524, allocations: 7.984 kB / 268.5 MB, free: 5.168 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002959/0.02553, allocations: 0.6008 MB / 269.1 MB, free: 4.512 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.0258, allocations: 156.6 kB / 269.3 MB, free: 4.363 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.02923, allocations: 0.9299 MB / 270.2 MB, free: 3.398 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.305e-05/0.02931, allocations: 130.4 kB / 270.3 MB, free: 3.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.02941, allocations: 43.28 kB / 270.4 MB, free: 3.207 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.02959, allocations: 153.3 kB / 270.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0296, allocations: 0 / 270.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of Templates: time 0.01212/0.04172, allocations: 10.01 MB / 280.5 MB, free: 9.199 MB / 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 -emit_protected -ignoreHideResult -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.8286890191957355]