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.001183/0.001183, allocations: 75.75 kB / 21.97 MB, free: 2.605 MB / 18.57 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.001287/0.001287, allocations: 167.7 kB / 25.33 MB, free: 9.449 MB / 18.57 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.9582/0.9582, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.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 2.294e-06/2.294e-06, allocations: 0 / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.164e-05, allocations: 2.312 kB / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004884/0.004915, allocations: 3.911 MB / 255 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002613/0.007529, allocations: 1.333 MB / 256.3 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003221/0.007851, allocations: 15.88 kB / 256.3 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008234/0.008674, allocations: 258.6 kB / 256.6 MB, free: 14.05 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005712/0.009245, allocations: 274.2 kB / 256.8 MB, free: 13.78 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/0.009786, allocations: 263.3 kB / 257.1 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006863/0.01047, allocations: 0.7315 MB / 257.8 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.01071, allocations: 117.5 kB / 257.9 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004491/0.01116, allocations: 407 kB / 258.3 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.01144, allocations: 239.3 kB / 258.6 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.0115, allocations: 52 kB / 258.6 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.0117, allocations: 99.89 kB / 258.7 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.01182, allocations: 147.5 kB / 258.9 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.01199, allocations: 203.5 kB / 259.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005623/0.01255, allocations: 0.502 MB / 259.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.01255, allocations: 0 / 259.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01255, allocations: 0 / 259.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.148e-06/0.01256, allocations: 8 kB / 259.6 MB, free: 11.03 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.001301/0.01386, allocations: 0.9732 MB / 260.5 MB, free: 10.01 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.01391, allocations: 11.98 kB / 260.5 MB, free: 9.996 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.01405, allocations: 104.5 kB / 260.6 MB, free: 9.895 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.0145, allocations: 351.1 kB / 261 MB, free: 9.52 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.01454, allocations: 33.36 kB / 261 MB, free: 9.488 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.01459, allocations: 44.38 kB / 261.1 MB, free: 9.445 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.01509, allocations: 454.2 kB / 261.5 MB, free: 8.953 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.01511, allocations: 11.88 kB / 261.5 MB, free: 8.941 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.01514, allocations: 23.98 kB / 261.5 MB, free: 8.918 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.01515, allocations: 8 kB / 261.6 MB, free: 8.91 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.01542, allocations: 177.8 kB / 261.7 MB, free: 8.734 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.01705, allocations: 1.684 MB / 263.4 MB, free: 6.965 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.0175, allocations: 303.5 kB / 263.7 MB, free: 6.656 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.01767, allocations: 107.6 kB / 263.8 MB, free: 6.547 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.01771, allocations: 11.75 kB / 263.8 MB, free: 6.535 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003271/0.01804, allocations: 333 kB / 264.2 MB, free: 6.148 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 4.999e-06/0.01804, allocations: 0 / 264.2 MB, free: 6.148 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001128/0.01917, allocations: 0.598 MB / 264.7 MB, free: 5.527 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.798e-05/0.01925, allocations: 158.2 kB / 264.9 MB, free: 5.336 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/0.01961, allocations: 454.7 kB / 265.3 MB, free: 4.875 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.01964, allocations: 37.7 kB / 265.4 MB, free: 4.832 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.01983, allocations: 311.4 kB / 265.7 MB, free: 4.523 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.625e-05/0.0199, allocations: 130.9 kB / 265.8 MB, free: 4.395 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.02, allocations: 87.84 kB / 265.9 MB, free: 4.301 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.02018, allocations: 0.5274 MB / 266.4 MB, free: 3.762 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.02029, allocations: 64.95 kB / 266.5 MB, free: 3.699 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.02051, allocations: 306.9 kB / 266.8 MB, free: 3.324 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.02074, allocations: 184.7 kB / 267 MB, free: 3.129 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.02075, allocations: 0 / 267 MB, free: 3.129 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004531/0.0212, allocations: 384.6 kB / 267.3 MB, free: 2.73 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.02122, allocations: 4 kB / 267.4 MB, free: 2.727 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.02123, allocations: 3.984 kB / 267.4 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003545/0.02158, allocations: 138.6 kB / 267.5 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.02172, allocations: 39.97 kB / 267.5 MB, free: 2.531 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004036/0.02575, allocations: 8.236 MB / 275.8 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.02596, allocations: 55.75 kB / 275.8 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.02598, allocations: 12 kB / 275.8 MB, free: 9.75 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.0001657/0.02615, allocations: 186.6 kB / 276 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-05/0.02621, allocations: 67.61 kB / 276.1 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005876/0.0268, allocations: 408.3 kB / 276.5 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.0268, allocations: 4 kB / 276.5 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.02681, allocations: 11.94 kB / 276.5 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.02681, allocations: 0 / 276.5 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.02716, allocations: 360.3 kB / 276.8 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.02716, allocations: 0 / 276.8 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-05/0.02724, allocations: 23.98 kB / 276.9 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002634/0.0275, allocations: 142.6 kB / 277 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.02753, allocations: 11.94 kB / 277 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003595/0.03112, allocations: 7.778 MB / 284.8 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.03112, allocations: 0 / 284.8 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005692/0.03169, allocations: 446.4 kB / 285.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.03183, allocations: 79.59 kB / 285.3 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.03187, allocations: 16.09 kB / 285.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.03199, allocations: 36.09 kB / 285.4 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.03216, allocations: 59.89 kB / 285.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.03219, allocations: 8 kB / 285.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002836/0.03247, allocations: 307 kB / 285.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03247, allocations: 0 / 285.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006672/0.03314, allocations: 175.7 kB / 285.9 MB, free: 15.06 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.0009528/0.03409, allocations: 412.8 kB / 286.3 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009178/0.03501, allocations: 0.9436 MB / 287.2 MB, free: 13.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.03501, allocations: 0 / 287.2 MB, free: 13.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005282/0.03554, allocations: 0.8309 MB / 288.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.03595, allocations: 125.4 kB / 288.2 MB, free: 12.65 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.03788, allocations: 0.8845 MB / 289.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.03801, allocations: 134.4 kB / 289.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.03815, allocations: 47.28 kB / 289.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/0.03824, allocations: 36.48 kB / 289.3 MB, free: 11.5 MB / 282.7 MB Notification: Performance of SimCode: time 1.212e-06/0.03824, allocations: 0 / 289.3 MB, free: 11.5 MB / 282.7 MB Notification: Performance of Templates: time 0.01294/0.05117, allocations: 9.136 MB / 298.4 MB, free: 2.352 MB / 282.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4170569740235806]