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.001037/0.001037, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001274/0.001274, allocations: 166.9 kB / 25.61 MB, free: 8.91 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 1.025/1.025, allocations: 158.6 MB / 187.5 MB, free: 2.797 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.335e-06/2.335e-06, allocations: 0 / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.295e-05/3.529e-05, allocations: 2.312 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005583/0.005618, allocations: 3.846 MB / 255.3 MB, free: 3.375 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.008234, allocations: 1.341 MB / 256.7 MB, free: 2.023 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004219/0.008656, allocations: 11.88 kB / 256.7 MB, free: 2.012 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.009675, allocations: 254.7 kB / 256.9 MB, free: 1.762 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007863/0.01046, allocations: 274.2 kB / 257.2 MB, free: 1.488 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007528/0.01121, allocations: 271.2 kB / 257.5 MB, free: 1.223 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009362/0.01215, allocations: 0.7354 MB / 258.2 MB, free: 496 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002772/0.01243, allocations: 109.5 kB / 258.3 MB, free: 380 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006942/0.01312, allocations: 403.2 kB / 258.7 MB, free: 15.97 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003647/0.01349, allocations: 239.2 kB / 258.9 MB, free: 15.74 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.933e-05/0.01357, allocations: 52 kB / 259 MB, free: 15.69 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.01381, allocations: 99.89 kB / 259.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.01395, allocations: 155.4 kB / 259.2 MB, free: 15.44 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.01414, allocations: 203.5 kB / 259.4 MB, free: 15.24 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006849/0.01483, allocations: 0.5059 MB / 259.9 MB, free: 14.73 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.01483, allocations: 0 / 259.9 MB, free: 14.73 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01484, allocations: 0 / 259.9 MB, free: 14.73 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.01485, allocations: 0 / 259.9 MB, free: 14.73 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.001427/0.01628, allocations: 0.9692 MB / 260.9 MB, free: 13.72 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/0.01634, allocations: 15.98 kB / 260.9 MB, free: 13.7 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.01649, allocations: 96.52 kB / 261 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.01694, allocations: 367 kB / 261.4 MB, free: 13.22 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.01698, allocations: 29.38 kB / 261.4 MB, free: 13.19 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.01702, allocations: 40.38 kB / 261.4 MB, free: 13.15 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.01752, allocations: 442.1 kB / 261.9 MB, free: 12.67 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.01755, allocations: 3.938 kB / 261.9 MB, free: 12.67 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.01758, allocations: 16 kB / 261.9 MB, free: 12.65 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.01759, allocations: 8 kB / 261.9 MB, free: 12.64 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.01779, allocations: 138.8 kB / 262 MB, free: 12.51 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.0195, allocations: 1.614 MB / 263.6 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.01986, allocations: 263.5 kB / 263.9 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.01997, allocations: 99.61 kB / 264 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.02, allocations: 11.75 kB / 264 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003027/0.0203, allocations: 317 kB / 264.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 3.838e-06/0.02031, allocations: 4 kB / 264.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001094/0.0214, allocations: 0.5549 MB / 264.9 MB, free: 9.48 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.547e-05/0.02149, allocations: 170.2 kB / 265 MB, free: 9.277 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.02183, allocations: 430.5 kB / 265.5 MB, free: 8.84 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.02186, allocations: 37.7 kB / 265.5 MB, free: 8.797 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.02204, allocations: 315.3 kB / 265.8 MB, free: 8.484 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.265e-05/0.02213, allocations: 138.8 kB / 265.9 MB, free: 8.348 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.556e-05/0.02222, allocations: 75.83 kB / 266 MB, free: 8.266 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002658/0.02249, allocations: 0.5429 MB / 266.6 MB, free: 7.711 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.463e-05/0.02256, allocations: 48.95 kB / 266.6 MB, free: 7.664 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.02275, allocations: 286.9 kB / 266.9 MB, free: 7.309 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.02293, allocations: 168.6 kB / 267.1 MB, free: 7.129 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.02293, allocations: 0 / 267.1 MB, free: 7.129 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003637/0.0233, allocations: 344.6 kB / 267.4 MB, free: 6.77 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.02331, allocations: 4 kB / 267.4 MB, free: 6.766 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.02332, allocations: 4 kB / 267.4 MB, free: 6.762 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002861/0.02361, allocations: 142.6 kB / 267.5 MB, free: 6.605 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.02373, allocations: 47.91 kB / 267.6 MB, free: 6.559 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004462/0.0282, allocations: 8.113 MB / 275.7 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.0284, allocations: 51.75 kB / 275.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.02843, allocations: 12.06 kB / 275.8 MB, free: 13.94 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.0001705/0.0286, allocations: 186.5 kB / 275.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/0.02866, allocations: 63.67 kB / 276 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004494/0.02911, allocations: 380.1 kB / 276.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.02911, allocations: 4 kB / 276.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.02911, allocations: 0 / 276.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.02912, allocations: 4 kB / 276.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.02946, allocations: 296.6 kB / 276.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.02947, allocations: 0 / 276.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.987e-05/0.02954, allocations: 23.98 kB / 276.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/0.02977, allocations: 142.5 kB / 276.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.02979, allocations: 8 kB / 276.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003653/0.03345, allocations: 7.671 MB / 284.5 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.03345, allocations: 4.031 kB / 284.5 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.03388, allocations: 414.5 kB / 284.9 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.03399, allocations: 71.61 kB / 285 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.03403, allocations: 15.94 kB / 285 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.03414, allocations: 27.97 kB / 285 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.03426, allocations: 59.69 kB / 285.1 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.03427, allocations: 11.98 kB / 285.1 MB, free: 4.016 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001859/0.03446, allocations: 283 kB / 285.4 MB, free: 3.738 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03446, allocations: 0 / 285.4 MB, free: 3.738 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005694/0.03503, allocations: 179.7 kB / 285.6 MB, free: 3.562 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.0008987/0.03593, allocations: 414.6 kB / 286 MB, free: 3.203 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007172/0.03665, allocations: 0.9087 MB / 286.9 MB, free: 2.223 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.03665, allocations: 4.062 kB / 286.9 MB, free: 2.219 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004569/0.03711, allocations: 0.8151 MB / 287.7 MB, free: 1.328 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.03748, allocations: 116 kB / 287.8 MB, free: 1.219 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.03891, allocations: 0.8766 MB / 288.7 MB, free: 316 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.03902, allocations: 134.4 kB / 288.8 MB, free: 164 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.03914, allocations: 51.27 kB / 288.9 MB, free: 112 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.03936, allocations: 170.2 kB / 289 MB, free: 15.94 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.03936, allocations: 0 / 289 MB, free: 15.94 MB / 282.7 MB Notification: Performance of Templates: time 0.01293/0.05229, allocations: 9.751 MB / 298.8 MB, free: 6.18 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.2848809640854597]