Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009739/0.0009739, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001032/0.001032, allocations: 161 kB / 24.99 MB, free: 8.805 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.009/1.009, allocations: 177 MB / 205.2 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/2.008e-05, allocations: 2.312 kB / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.003896/0.003916, allocations: 3.97 MB / 277 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002313/0.006229, allocations: 1.592 MB / 278.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.006484, allocations: 11.94 kB / 278.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005736/0.007058, allocations: 254.7 kB / 278.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000534/0.007592, allocations: 313.9 kB / 279.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005254/0.008117, allocations: 275.2 kB / 279.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006146/0.008732, allocations: 0.7472 MB / 280.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.008917, allocations: 117.5 kB / 280.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004218/0.009338, allocations: 419 kB / 280.7 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.009567, allocations: 239.3 kB / 280.9 MB, free: 9.762 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.983e-05/0.009616, allocations: 52 kB / 281 MB, free: 9.711 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.009772, allocations: 111.8 kB / 281.1 MB, free: 9.602 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.009879, allocations: 147.5 kB / 281.2 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.01003, allocations: 207.4 kB / 281.4 MB, free: 9.254 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004955/0.01053, allocations: 0.5176 MB / 281.9 MB, free: 8.734 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.01053, allocations: 0 / 281.9 MB, free: 8.734 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01053, allocations: 0 / 281.9 MB, free: 8.734 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.01054, allocations: 0 / 281.9 MB, free: 8.734 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.001009/0.01155, allocations: 0.9887 MB / 282.9 MB, free: 7.703 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.01158, allocations: 11.98 kB / 282.9 MB, free: 7.691 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.01175, allocations: 104.5 kB / 283 MB, free: 7.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.01213, allocations: 391 kB / 283.4 MB, free: 7.176 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.01215, allocations: 29.38 kB / 283.4 MB, free: 7.148 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.0122, allocations: 40.38 kB / 283.5 MB, free: 7.109 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.01263, allocations: 454.2 kB / 283.9 MB, free: 6.609 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.01264, allocations: 192 / 283.9 MB, free: 6.609 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.01267, allocations: 16.38 kB / 283.9 MB, free: 6.594 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.01268, allocations: 11.94 kB / 284 MB, free: 6.582 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.01295, allocations: 185.7 kB / 284.1 MB, free: 6.406 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.01445, allocations: 1.672 MB / 285.8 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.01484, allocations: 290.9 kB / 286.1 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.01499, allocations: 111.6 kB / 286.2 MB, free: 4.238 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.01501, allocations: 11.75 kB / 286.2 MB, free: 4.227 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002753/0.01528, allocations: 337 kB / 286.5 MB, free: 3.836 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.463e-06/0.01528, allocations: 0 / 286.5 MB, free: 3.836 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001018/0.0163, allocations: 0.595 MB / 287.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.01636, allocations: 158.2 kB / 287.3 MB, free: 3.027 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.0167, allocations: 470.6 kB / 287.7 MB, free: 2.551 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.01673, allocations: 37.7 kB / 287.8 MB, free: 2.508 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.01687, allocations: 311.4 kB / 288.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.08e-05/0.01695, allocations: 130.9 kB / 288.2 MB, free: 2.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.09e-05/0.01704, allocations: 91.73 kB / 288.3 MB, free: 1.973 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.01718, allocations: 0.5274 MB / 288.8 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.01729, allocations: 60.97 kB / 288.9 MB, free: 1.375 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.01749, allocations: 306.9 kB / 289.2 MB, free: 1.004 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.01771, allocations: 188.7 kB / 289.4 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01771, allocations: 0 / 289.4 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004336/0.01814, allocations: 384.3 kB / 289.8 MB, free: 416 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.01816, allocations: 11.11 kB / 289.8 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.01816, allocations: 4 kB / 289.8 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000294/0.01846, allocations: 138.8 kB / 289.9 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.01858, allocations: 47.91 kB / 289.9 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003454/0.02203, allocations: 8.232 MB / 298.2 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.02219, allocations: 44 kB / 298.2 MB, free: 7.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.02221, allocations: 16.06 kB / 298.2 MB, free: 7.426 MB / 282.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.0001321/0.02234, allocations: 190.5 kB / 298.4 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.0224, allocations: 67.61 kB / 298.5 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005077/0.02291, allocations: 408.5 kB / 298.9 MB, free: 6.738 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.02291, allocations: 4 kB / 298.9 MB, free: 6.734 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.02291, allocations: 0 / 298.9 MB, free: 6.734 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.02292, allocations: 7.984 kB / 298.9 MB, free: 6.727 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.02323, allocations: 352.2 kB / 299.2 MB, free: 6.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.02323, allocations: 4 kB / 299.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.997e-05/0.0233, allocations: 27.92 kB / 299.3 MB, free: 6.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002199/0.02352, allocations: 138.6 kB / 299.4 MB, free: 6.164 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.02353, allocations: 8 kB / 299.4 MB, free: 6.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1067/0.1303, allocations: 7.781 MB / 307.2 MB, free: 38.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1303, allocations: 1.125 kB / 307.2 MB, free: 38.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007404/0.131, allocations: 455.3 kB / 307.6 MB, free: 38.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.1312, allocations: 88.88 kB / 307.7 MB, free: 38.17 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.1312, allocations: 7.875 kB / 307.7 MB, free: 38.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.1314, allocations: 30.53 kB / 307.8 MB, free: 38.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.1316, allocations: 53.83 kB / 307.8 MB, free: 38.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.1316, allocations: 13.47 kB / 307.8 MB, free: 38.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002891/0.1319, allocations: 311.3 kB / 308.1 MB, free: 38.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1319, allocations: 0.9688 kB / 308.1 MB, free: 38.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000786/0.1327, allocations: 175.9 kB / 308.3 MB, free: 38.04 MB / 282.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.0009773/0.1336, allocations: 407.9 kB / 308.7 MB, free: 37.94 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007485/0.1344, allocations: 0.9276 MB / 309.6 MB, free: 37.24 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1344, allocations: 2.062 kB / 309.6 MB, free: 37.24 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004031/0.1348, allocations: 0.8405 MB / 310.5 MB, free: 36.55 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.1352, allocations: 116.5 kB / 310.6 MB, free: 36.54 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.1369, allocations: 0.8992 MB / 311.5 MB, free: 36.13 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.137, allocations: 135.3 kB / 311.6 MB, free: 36.06 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.1371, allocations: 46.72 kB / 311.7 MB, free: 36.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.36e-05/0.1372, allocations: 39.91 kB / 311.7 MB, free: 36.04 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1372, allocations: 0 / 311.7 MB, free: 36.04 MB / 282.7 MB Notification: Performance of Templates: time 0.01388/0.1511, allocations: 9.2 MB / 320.9 MB, free: 33.2 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1239148820750415]