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.0009449/0.0009449, allocations: 85.17 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.0009564/0.0009564, allocations: 148.6 kB / 24.9 MB, free: 8.727 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.9268/0.9268, allocations: 173.4 MB / 201.5 MB, free: 8.727 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 2.054e-06/2.054e-06, allocations: 0 / 268.5 MB, free: 6.027 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.04e-05, allocations: 10.05 kB / 268.5 MB, free: 6.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005648/0.005679, allocations: 3.902 MB / 272.4 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003251/0.00893, allocations: 1.441 MB / 273.8 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003147/0.009245, allocations: 11.94 kB / 273.8 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006724/0.009917, allocations: 246.7 kB / 274.1 MB, free: 400 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004315/0.01035, allocations: 274.1 kB / 274.3 MB, free: 124 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.01083, allocations: 299.1 kB / 274.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005495/0.01138, allocations: 0.7238 MB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.01156, allocations: 122.1 kB / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003795/0.01194, allocations: 407.1 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.01218, allocations: 239.3 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.622e-05/0.01223, allocations: 52 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.01238, allocations: 99.84 kB / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.01249, allocations: 151.5 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.01263, allocations: 199.5 kB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.01306, allocations: 0.502 MB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.01306, allocations: 4 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.01306, allocations: 0 / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.01307, allocations: 4 kB / 277.1 MB, free: 13.34 MB / 266.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.000881/0.01395, allocations: 0.8444 MB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.01398, allocations: 12.92 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.15e-05/0.01407, allocations: 72.88 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.0144, allocations: 296.4 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.01442, allocations: 33.31 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.01446, allocations: 44.38 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.01482, allocations: 426.8 kB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.01483, allocations: 3.938 kB / 278.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.01485, allocations: 16 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.01486, allocations: 12 kB / 278.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.01502, allocations: 129.6 kB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.01627, allocations: 1.227 MB / 280.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.01656, allocations: 285.4 kB / 280.5 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.558e-05/0.01665, allocations: 84.58 kB / 280.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.01668, allocations: 8 kB / 280.6 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.0169, allocations: 308 kB / 280.9 MB, free: 9.324 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.773e-06/0.0169, allocations: 0 / 280.9 MB, free: 9.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007946/0.0177, allocations: 481.1 kB / 281.3 MB, free: 8.836 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.01776, allocations: 162.2 kB / 281.5 MB, free: 8.641 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.01799, allocations: 388.9 kB / 281.9 MB, free: 8.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.01802, allocations: 41.69 kB / 281.9 MB, free: 8.203 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.311e-05/0.01811, allocations: 209.6 kB / 282.1 MB, free: 7.992 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.724e-05/0.01818, allocations: 130.9 kB / 282.3 MB, free: 7.863 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-05/0.01826, allocations: 78.16 kB / 282.3 MB, free: 7.781 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.984e-05/0.01835, allocations: 354.7 kB / 282.7 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/0.01841, allocations: 47.8 kB / 282.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.01854, allocations: 257.5 kB / 283 MB, free: 7.062 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.0187, allocations: 170.8 kB / 283.1 MB, free: 6.883 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01871, allocations: 4 kB / 283.1 MB, free: 6.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002639/0.01897, allocations: 256.4 kB / 283.4 MB, free: 6.609 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.01898, allocations: 10.97 kB / 283.4 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01899, allocations: 0 / 283.4 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002416/0.01923, allocations: 127.2 kB / 283.5 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.01934, allocations: 43.91 kB / 283.6 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.02171, allocations: 5.539 MB / 289.1 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.02186, allocations: 59.69 kB / 289.2 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.02187, allocations: 8 kB / 289.2 MB, free: 484 kB / 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.0001085/0.02198, allocations: 142.7 kB / 289.3 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.02202, allocations: 43.95 kB / 289.4 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1022/0.1242, allocations: 306.5 kB / 289.7 MB, free: 28.53 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.1242, allocations: 5.344 kB / 289.7 MB, free: 28.53 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1242, allocations: 3.312 kB / 289.7 MB, free: 28.53 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.1242, allocations: 1.922 kB / 289.7 MB, free: 28.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004435/0.1246, allocations: 240.2 kB / 289.9 MB, free: 28.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1247, allocations: 1.094 kB / 289.9 MB, free: 28.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.86e-05/0.1248, allocations: 32.88 kB / 289.9 MB, free: 28.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002508/0.125, allocations: 120.4 kB / 290.1 MB, free: 28.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.125, allocations: 10.25 kB / 290.1 MB, free: 28.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/0.1272, allocations: 5.24 MB / 295.3 MB, free: 23.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1272, allocations: 0.8125 kB / 295.3 MB, free: 23.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.1276, allocations: 326.1 kB / 295.6 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.1277, allocations: 57.78 kB / 295.7 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.1278, allocations: 14.3 kB / 295.7 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.1279, allocations: 30.03 kB / 295.7 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.128, allocations: 54.16 kB / 295.8 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.128, allocations: 8.625 kB / 295.8 MB, free: 23.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.1282, allocations: 173.1 kB / 296 MB, free: 23.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1282, allocations: 0 / 296 MB, free: 23.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005663/0.1288, allocations: 176.9 kB / 296.1 MB, free: 23.53 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.001205/0.13, allocations: 0.5262 MB / 296.7 MB, free: 23.4 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006181/0.1306, allocations: 0.6681 MB / 297.3 MB, free: 22.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/0.1306, allocations: 5.938 kB / 297.3 MB, free: 22.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.1309, allocations: 0.6003 MB / 297.9 MB, free: 22.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.1312, allocations: 110.3 kB / 298 MB, free: 22.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.1328, allocations: 0.8836 MB / 298.9 MB, free: 22.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.133, allocations: 134.6 kB / 299 MB, free: 21.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001648/0.1331, allocations: 39.78 kB / 299.1 MB, free: 21.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.1333, allocations: 149 kB / 299.2 MB, free: 21.91 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1333, allocations: 4.312 kB / 299.2 MB, free: 21.91 MB / 266.7 MB Notification: Performance of Templates: time 0.0134/0.1467, allocations: 9.66 MB / 308.9 MB, free: 18.79 MB / 266.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 -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.929381500929594]