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.0009941/0.0009941, allocations: 85.95 kB / 23 MB, free: 1.504 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.001156/0.001156, allocations: 175.6 kB / 26.39 MB, free: 7.988 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.9674/0.9674, allocations: 158.6 MB / 188.3 MB, free: 2.801 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 1.352e-06/1.352e-06, allocations: 3.938 kB / 252.3 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.73e-05, allocations: 6.25 kB / 252.3 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005208/0.005236, allocations: 3.846 MB / 256.1 MB, free: 3.383 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.007864, allocations: 1.341 MB / 257.4 MB, free: 2.027 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002478/0.008112, allocations: 11.94 kB / 257.5 MB, free: 2.016 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007492/0.008861, allocations: 258.6 kB / 257.7 MB, free: 1.762 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005209/0.009382, allocations: 270.2 kB / 258 MB, free: 1.496 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005519/0.009934, allocations: 271.3 kB / 258.2 MB, free: 1.23 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007345/0.01067, allocations: 0.7315 MB / 259 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.01093, allocations: 109.5 kB / 259.1 MB, free: 392 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005195/0.01145, allocations: 403.1 kB / 259.5 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000333/0.01178, allocations: 243.3 kB / 259.7 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.495e-05/0.01185, allocations: 48 kB / 259.8 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.01205, allocations: 103.8 kB / 259.9 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.01219, allocations: 147.5 kB / 260 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.01241, allocations: 207.4 kB / 260.2 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006174/0.01302, allocations: 0.502 MB / 260.7 MB, free: 14.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.01303, allocations: 3.984 kB / 260.7 MB, free: 14.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01303, allocations: 3.938 kB / 260.7 MB, free: 14.74 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.01303, allocations: 0 / 260.7 MB, free: 14.74 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.001563/0.0146, allocations: 0.9731 MB / 261.7 MB, free: 13.72 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.01463, allocations: 11.98 kB / 261.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.01478, allocations: 100.5 kB / 261.8 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.01524, allocations: 363 kB / 262.1 MB, free: 13.23 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/0.01528, allocations: 29.38 kB / 262.2 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.433e-05/0.01533, allocations: 36.38 kB / 262.2 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005261/0.01586, allocations: 430.2 kB / 262.6 MB, free: 12.7 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.01587, allocations: 3.938 kB / 262.6 MB, free: 12.69 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.01591, allocations: 16 kB / 262.7 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.01593, allocations: 15.94 kB / 262.7 MB, free: 12.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002729/0.0162, allocations: 134.8 kB / 262.8 MB, free: 12.53 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.01808, allocations: 1.622 MB / 264.4 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.0185, allocations: 267.5 kB / 264.7 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.01866, allocations: 99.62 kB / 264.8 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.01868, allocations: 7.75 kB / 264.8 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003211/0.019, allocations: 317 kB / 265.1 MB, free: 10.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 1.874e-06/0.019, allocations: 0 / 265.1 MB, free: 10.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001344/0.02035, allocations: 0.5667 MB / 265.7 MB, free: 9.484 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.02042, allocations: 158.2 kB / 265.8 MB, free: 9.293 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004043/0.02082, allocations: 442.5 kB / 266.3 MB, free: 8.844 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.02086, allocations: 33.7 kB / 266.3 MB, free: 8.805 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.02106, allocations: 315.3 kB / 266.6 MB, free: 8.492 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.772e-05/0.02116, allocations: 130.9 kB / 266.7 MB, free: 8.363 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.02129, allocations: 87.81 kB / 266.8 MB, free: 8.27 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.02147, allocations: 0.5351 MB / 267.3 MB, free: 7.723 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.02157, allocations: 44.97 kB / 267.4 MB, free: 7.68 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.0218, allocations: 290.9 kB / 267.7 MB, free: 7.32 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005082/0.0223, allocations: 164.7 kB / 267.8 MB, free: 7.145 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.02231, allocations: 0 / 267.8 MB, free: 7.145 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005006/0.02281, allocations: 344.5 kB / 268.2 MB, free: 6.785 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.02282, allocations: 11.98 kB / 268.2 MB, free: 6.773 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.02283, allocations: 0 / 268.2 MB, free: 6.773 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003418/0.02317, allocations: 134.8 kB / 268.3 MB, free: 6.625 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.02335, allocations: 47.91 kB / 268.4 MB, free: 6.578 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004418/0.02777, allocations: 8.121 MB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.02801, allocations: 51.77 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.02803, allocations: 8 kB / 276.5 MB, free: 13.95 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.0001631/0.02819, allocations: 190.6 kB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/0.02828, allocations: 63.67 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006204/0.0289, allocations: 376.1 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.0289, allocations: 4 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.0289, allocations: 4 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.02891, allocations: 3.984 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003674/0.02928, allocations: 288.7 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.02928, allocations: 3.938 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.02938, allocations: 23.98 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002963/0.02968, allocations: 138.6 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.0297, allocations: 12 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004166/0.03387, allocations: 7.671 MB / 285.3 MB, free: 4.664 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.03387, allocations: 4.094 kB / 285.3 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006064/0.03448, allocations: 414.5 kB / 285.7 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.03462, allocations: 71.61 kB / 285.8 MB, free: 4.145 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.03468, allocations: 8 kB / 285.8 MB, free: 4.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.03487, allocations: 31.97 kB / 285.8 MB, free: 4.105 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.03499, allocations: 59.62 kB / 285.9 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.03502, allocations: 15.98 kB / 285.9 MB, free: 4.031 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002326/0.03525, allocations: 283 kB / 286.2 MB, free: 3.754 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03525, allocations: 0 / 286.2 MB, free: 3.754 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007979/0.03605, allocations: 175.7 kB / 286.3 MB, free: 3.582 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.03725, allocations: 422.7 kB / 286.7 MB, free: 3.215 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008055/0.03806, allocations: 0.9008 MB / 287.6 MB, free: 2.242 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.03806, allocations: 4.188 kB / 287.6 MB, free: 2.238 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005392/0.0386, allocations: 0.8229 MB / 288.5 MB, free: 1.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.03908, allocations: 116 kB / 288.6 MB, free: 1.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.041, allocations: 0.8805 MB / 289.5 MB, free: 324 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.04111, allocations: 134.4 kB / 289.6 MB, free: 172 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001544/0.04126, allocations: 47.28 kB / 289.6 MB, free: 124 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.04155, allocations: 170.2 kB / 289.8 MB, free: 15.95 MB / 282.7 MB Notification: Performance of SimCode: time 7.02e-07/0.04156, allocations: 0 / 289.8 MB, free: 15.95 MB / 282.7 MB Notification: Performance of Templates: time 0.01609/0.05764, allocations: 9.93 MB / 299.7 MB, free: 6.016 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.3441401161253452]