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.0009459/0.0009459, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.00109/0.00109, allocations: 167.6 kB / 25.7 MB, free: 8.438 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.9188/0.9188, allocations: 158.6 MB / 187.6 MB, free: 2.777 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.342e-06/1.342e-06, allocations: 0 / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.716e-05, allocations: 6.25 kB / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.003892/0.003909, allocations: 3.854 MB / 255.4 MB, free: 3.391 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.005566, allocations: 1.368 MB / 256.8 MB, free: 2.008 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.005747, allocations: 11.94 kB / 256.8 MB, free: 1.996 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006194/0.006367, allocations: 258.7 kB / 257 MB, free: 1.742 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000619/0.006986, allocations: 274.2 kB / 257.3 MB, free: 1.473 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.007345, allocations: 259.4 kB / 257.5 MB, free: 1.219 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004845/0.00783, allocations: 0.7432 MB / 258.3 MB, free: 484 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.008006, allocations: 122 kB / 258.4 MB, free: 356 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000333/0.008339, allocations: 403.1 kB / 258.8 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.00857, allocations: 239.3 kB / 259 MB, free: 15.72 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.354e-05/0.008624, allocations: 48 kB / 259.1 MB, free: 15.67 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.008763, allocations: 103.9 kB / 259.2 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.008866, allocations: 143.5 kB / 259.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.00901, allocations: 203.4 kB / 259.5 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000435/0.009445, allocations: 0.506 MB / 260 MB, free: 14.72 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.009447, allocations: 0 / 260 MB, free: 14.72 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.009448, allocations: 4 kB / 260 MB, free: 14.72 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.009453, allocations: 0 / 260 MB, free: 14.72 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.0009107/0.01036, allocations: 0.8406 MB / 260.9 MB, free: 13.84 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.0104, allocations: 15.98 kB / 260.9 MB, free: 13.83 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.39e-05/0.01048, allocations: 76.86 kB / 261 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.01079, allocations: 312.3 kB / 261.3 MB, free: 13.42 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.01082, allocations: 29.38 kB / 261.3 MB, free: 13.39 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.01086, allocations: 40.38 kB / 261.3 MB, free: 13.35 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.01121, allocations: 442.8 kB / 261.8 MB, free: 12.88 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.01122, allocations: 3.938 kB / 261.8 MB, free: 12.87 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.01124, allocations: 16 kB / 261.8 MB, free: 12.86 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.01125, allocations: 12 kB / 261.8 MB, free: 12.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.01141, allocations: 113.7 kB / 261.9 MB, free: 12.73 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.01256, allocations: 1.223 MB / 263.1 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.01287, allocations: 285.3 kB / 263.4 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.875e-05/0.01297, allocations: 88.61 kB / 263.5 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.01299, allocations: 11.75 kB / 263.5 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.01323, allocations: 300.1 kB / 263.8 MB, free: 10.71 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 2.134e-06/0.01324, allocations: 3.984 kB / 263.8 MB, free: 10.71 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001056/0.01429, allocations: 484.1 kB / 264.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.01435, allocations: 170.2 kB / 264.4 MB, free: 10.01 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.01458, allocations: 384.9 kB / 264.8 MB, free: 9.621 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.01461, allocations: 37.7 kB / 264.9 MB, free: 9.578 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.801e-05/0.01469, allocations: 209.6 kB / 265.1 MB, free: 9.371 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.224e-05/0.01476, allocations: 126.9 kB / 265.2 MB, free: 9.246 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.919e-05/0.01484, allocations: 86.09 kB / 265.3 MB, free: 9.156 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.827e-05/0.01492, allocations: 358.7 kB / 265.6 MB, free: 8.797 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-05/0.01498, allocations: 47.81 kB / 265.7 MB, free: 8.75 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.01513, allocations: 249.5 kB / 265.9 MB, free: 8.441 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.01528, allocations: 162.8 kB / 266.1 MB, free: 8.27 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01528, allocations: 4 kB / 266.1 MB, free: 8.266 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002692/0.01555, allocations: 272.5 kB / 266.3 MB, free: 7.98 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.01556, allocations: 8 kB / 266.3 MB, free: 7.973 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.01557, allocations: 0 / 266.3 MB, free: 7.973 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/0.01582, allocations: 115.3 kB / 266.5 MB, free: 7.848 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.01593, allocations: 47.91 kB / 266.5 MB, free: 7.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002628/0.01856, allocations: 5.528 MB / 272 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.0187, allocations: 51.7 kB / 272.1 MB, free: 1.875 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.01872, allocations: 8 kB / 272.1 MB, free: 1.867 MB / 250.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.0001173/0.01883, allocations: 146.7 kB / 272.2 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.01888, allocations: 47.98 kB / 272.3 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.01925, allocations: 316.8 kB / 272.6 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.01925, allocations: 4 kB / 272.6 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.72e-07/0.01925, allocations: 0 / 272.6 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.01926, allocations: 3.984 kB / 272.6 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.01948, allocations: 241.5 kB / 272.8 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.01949, allocations: 7.938 kB / 272.8 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.618e-05/0.01955, allocations: 27.92 kB / 272.9 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/0.01975, allocations: 119.3 kB / 273 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.01977, allocations: 11.98 kB / 273 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/0.02202, allocations: 5.236 MB / 278.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02202, allocations: 0 / 278.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.02236, allocations: 325.9 kB / 278.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.869e-05/0.02245, allocations: 55.64 kB / 278.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.02249, allocations: 11.94 kB / 278.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.02259, allocations: 27.98 kB / 278.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.601e-05/0.02269, allocations: 51.89 kB / 278.7 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.02271, allocations: 8 kB / 278.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001399/0.02285, allocations: 167.5 kB / 278.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02285, allocations: 0 / 278.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004704/0.02332, allocations: 183.7 kB / 279 MB, free: 10.47 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.001043/0.02436, allocations: 0.5331 MB / 279.6 MB, free: 9.988 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005343/0.0249, allocations: 0.6861 MB / 280.3 MB, free: 9.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.0249, allocations: 4 kB / 280.3 MB, free: 9.246 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003223/0.02522, allocations: 0.5927 MB / 280.9 MB, free: 8.598 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.0255, allocations: 113.5 kB / 281 MB, free: 8.488 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.02685, allocations: 0.8806 MB / 281.9 MB, free: 7.574 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.02696, allocations: 138.4 kB / 282 MB, free: 7.418 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.02708, allocations: 43.28 kB / 282 MB, free: 7.371 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.02727, allocations: 149.2 kB / 282.2 MB, free: 7.227 MB / 266.7 MB Notification: Performance of SimCode: time 1.282e-06/0.02727, allocations: 4 kB / 282.2 MB, free: 7.223 MB / 266.7 MB Notification: Performance of Templates: time 0.01247/0.03974, allocations: 9.644 MB / 291.8 MB, free: 13.57 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.0155001310631633]