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.001069/0.001069, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.0009803/0.0009803, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 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.9604/0.9604, allocations: 173.4 MB / 201.2 MB, free: 9.289 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.234e-06/2.234e-06, allocations: 4 kB / 268 MB, free: 6.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.99e-05, allocations: 2.312 kB / 268 MB, free: 6.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.003769/0.003789, allocations: 3.962 MB / 272 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.005765, allocations: 1.41 MB / 273.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.006009, allocations: 7.938 kB / 273.4 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006616/0.00667, allocations: 250.7 kB / 273.6 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004395/0.00711, allocations: 270.2 kB / 273.9 MB, free: 480 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.007618, allocations: 295.2 kB / 274.2 MB, free: 184 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006529/0.008271, allocations: 0.7355 MB / 274.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.008473, allocations: 113.5 kB / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003966/0.00887, allocations: 407.1 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.009114, allocations: 239.3 kB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.886e-05/0.009173, allocations: 48 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.009333, allocations: 103.8 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.009443, allocations: 155.5 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.009598, allocations: 195.5 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004848/0.01008, allocations: 0.5022 MB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.01008, allocations: 0 / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01009, allocations: 0 / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.01009, allocations: 3.938 kB / 276.7 MB, free: 13.69 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.00102/0.01111, allocations: 0.9731 MB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.01115, allocations: 12.92 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.01127, allocations: 104.5 kB / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.01162, allocations: 351.2 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.01165, allocations: 33.36 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.01169, allocations: 40.38 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004834/0.01218, allocations: 462.2 kB / 278.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.01219, allocations: 3.938 kB / 278.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.01222, allocations: 16 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.01223, allocations: 12 kB / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.0125, allocations: 173.8 kB / 278.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.01395, allocations: 1.692 MB / 280.5 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/0.01433, allocations: 283.4 kB / 280.8 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.01449, allocations: 115.4 kB / 280.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.01451, allocations: 8 kB / 280.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000303/0.01481, allocations: 336.9 kB / 281.2 MB, free: 8.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.673e-06/0.01481, allocations: 0 / 281.2 MB, free: 8.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001077/0.01589, allocations: 0.599 MB / 281.8 MB, free: 8.199 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.01595, allocations: 158.2 kB / 282 MB, free: 8.008 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003345/0.01629, allocations: 458.7 kB / 282.4 MB, free: 7.543 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.01631, allocations: 33.7 kB / 282.5 MB, free: 7.504 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.01646, allocations: 307.4 kB / 282.8 MB, free: 7.199 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.549e-05/0.01652, allocations: 127 kB / 282.9 MB, free: 7.074 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-05/0.01661, allocations: 87.8 kB / 283 MB, free: 6.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.01676, allocations: 0.5274 MB / 283.5 MB, free: 6.441 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.01686, allocations: 64.95 kB / 283.6 MB, free: 6.379 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.01706, allocations: 303 kB / 283.9 MB, free: 6.008 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.01729, allocations: 188.7 kB / 284 MB, free: 5.809 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01729, allocations: 64 / 284 MB, free: 5.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004903/0.01779, allocations: 384.3 kB / 284.4 MB, free: 5.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.0178, allocations: 8 kB / 284.4 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01781, allocations: 0 / 284.4 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/0.01818, allocations: 142.7 kB / 284.6 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.0183, allocations: 47.91 kB / 284.6 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1147/0.133, allocations: 8.236 MB / 292.8 MB, free: 25.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.1334, allocations: 47.66 kB / 292.9 MB, free: 25.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.1334, allocations: 13.69 kB / 292.9 MB, free: 25.24 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.0001707/0.1336, allocations: 191.3 kB / 293.1 MB, free: 25.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.167e-05/0.1336, allocations: 63.62 kB / 293.2 MB, free: 25.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006384/0.1343, allocations: 417.4 kB / 293.6 MB, free: 24.97 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1343, allocations: 9 kB / 293.6 MB, free: 24.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.1343, allocations: 0 / 293.6 MB, free: 24.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1343, allocations: 3.672 kB / 293.6 MB, free: 24.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.1346, allocations: 349.3 kB / 293.9 MB, free: 24.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1346, allocations: 0.7031 kB / 293.9 MB, free: 24.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.1348, allocations: 29.02 kB / 293.9 MB, free: 24.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003081/0.1351, allocations: 138.3 kB / 294.1 MB, free: 24.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.1351, allocations: 14.66 kB / 294.1 MB, free: 24.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002583/0.1377, allocations: 7.798 MB / 301.9 MB, free: 17.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1377, allocations: 0 / 301.9 MB, free: 17.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006476/0.1383, allocations: 444.4 kB / 302.3 MB, free: 17.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.1385, allocations: 76.08 kB / 302.4 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.1385, allocations: 11.23 kB / 302.4 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.1387, allocations: 29.66 kB / 302.4 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.1388, allocations: 56.89 kB / 302.5 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.1388, allocations: 13.86 kB / 302.5 MB, free: 17.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002614/0.1391, allocations: 304.7 kB / 302.8 MB, free: 17.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1391, allocations: 0 / 302.8 MB, free: 17.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000741/0.1399, allocations: 173.6 kB / 303 MB, free: 17.12 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.0009109/0.1408, allocations: 418.6 kB / 303.4 MB, free: 16.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006988/0.1415, allocations: 0.9323 MB / 304.3 MB, free: 16.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1415, allocations: 0.7031 kB / 304.3 MB, free: 16.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.1418, allocations: 0.8364 MB / 305.2 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.1421, allocations: 116.4 kB / 305.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.1435, allocations: 0.8999 MB / 306.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.1436, allocations: 135.2 kB / 306.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.1437, allocations: 37.94 kB / 306.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.81e-05/0.1438, allocations: 37.25 kB / 306.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1438, allocations: 4 kB / 306.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of Templates: time 0.0127/0.1565, allocations: 9.623 MB / 316 MB, free: 11.25 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: 3.2046174933202565]