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.002171/0.002171, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001272/0.001272, allocations: 140.4 kB / 24.97 MB, free: 8.371 MB / 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.972/0.972, allocations: 173.3 MB / 201.5 MB, free: 9.336 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 1.663e-06/1.663e-06, allocations: 0 / 268.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.711e-05, allocations: 2.312 kB / 268.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005239/0.005266, allocations: 3.95 MB / 272 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.007012, allocations: 1.414 MB / 273.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.007187, allocations: 7.938 kB / 273.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006676/0.007854, allocations: 250.7 kB / 273.7 MB, free: 1.086 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003682/0.008222, allocations: 274.2 kB / 274 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.00863, allocations: 287.2 kB / 274.2 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005286/0.009159, allocations: 0.7279 MB / 275 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.009361, allocations: 125.4 kB / 275.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003291/0.00969, allocations: 403.1 kB / 275.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.009952, allocations: 243.3 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.01001, allocations: 52 kB / 275.8 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.01016, allocations: 103.8 kB / 275.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.01027, allocations: 143.5 kB / 276 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.01042, allocations: 203.5 kB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007226/0.01114, allocations: 0.506 MB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.01115, allocations: 0 / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01115, allocations: 0 / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.01115, allocations: 4 kB / 276.7 MB, free: 14.04 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.001049/0.0122, allocations: 0.9731 MB / 277.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.01225, allocations: 12.91 kB / 277.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.01237, allocations: 100.5 kB / 277.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.01276, allocations: 359.1 kB / 278.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.01278, allocations: 29.38 kB / 278.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.01282, allocations: 36.38 kB / 278.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.01326, allocations: 454.2 kB / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.01327, allocations: 11.94 kB / 278.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.0133, allocations: 16 kB / 278.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.01331, allocations: 8 kB / 278.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.01358, allocations: 185.7 kB / 278.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.01502, allocations: 1.676 MB / 280.6 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.01539, allocations: 291.2 kB / 280.8 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.01554, allocations: 119.3 kB / 281 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.01557, allocations: 8 kB / 281 MB, free: 9.559 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002879/0.01586, allocations: 332.9 kB / 281.3 MB, free: 9.172 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.553e-06/0.01586, allocations: 4 kB / 281.3 MB, free: 9.168 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001053/0.01691, allocations: 0.5951 MB / 281.9 MB, free: 8.551 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.01697, allocations: 158.2 kB / 282 MB, free: 8.359 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.01729, allocations: 458.7 kB / 282.5 MB, free: 7.895 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.01732, allocations: 33.7 kB / 282.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.01746, allocations: 311.4 kB / 282.8 MB, free: 7.547 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.01753, allocations: 123 kB / 282.9 MB, free: 7.426 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.125e-05/0.01762, allocations: 87.8 kB / 283 MB, free: 7.332 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003955/0.01802, allocations: 0.5352 MB / 283.6 MB, free: 6.785 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.01812, allocations: 60.97 kB / 283.6 MB, free: 6.727 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.0183, allocations: 299 kB / 283.9 MB, free: 6.359 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.01852, allocations: 184.7 kB / 284.1 MB, free: 6.164 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01852, allocations: 3.984 kB / 284.1 MB, free: 6.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004124/0.01893, allocations: 384.3 kB / 284.5 MB, free: 5.762 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.01895, allocations: 7.984 kB / 284.5 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01895, allocations: 0 / 284.5 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002936/0.01925, allocations: 138.7 kB / 284.6 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.01937, allocations: 51.89 kB / 284.7 MB, free: 5.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003509/0.02288, allocations: 8.251 MB / 292.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.02302, allocations: 43.83 kB / 293 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.02304, allocations: 12 kB / 293 MB, free: 12.76 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.0001249/0.02317, allocations: 190.4 kB / 293.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.02322, allocations: 71.61 kB / 293.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00051/0.02373, allocations: 416 kB / 293.6 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.02374, allocations: 4 kB / 293.6 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.02374, allocations: 3.938 kB / 293.6 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.02374, allocations: 3.984 kB / 293.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.02402, allocations: 340.3 kB / 294 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.02402, allocations: 0 / 294 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.049e-05/0.02409, allocations: 31.92 kB / 294 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002155/0.02431, allocations: 146.7 kB / 294.2 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.02432, allocations: 8 kB / 294.2 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003133/0.02746, allocations: 7.782 MB / 301.9 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.02746, allocations: 0 / 301.9 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.02795, allocations: 446 kB / 302.4 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.02805, allocations: 83.62 kB / 302.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.02809, allocations: 15.98 kB / 302.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.02821, allocations: 23.98 kB / 302.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/0.0283, allocations: 59.83 kB / 302.6 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.02832, allocations: 12 kB / 302.6 MB, free: 2.551 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002042/0.02853, allocations: 303 kB / 302.9 MB, free: 2.258 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02853, allocations: 0 / 302.9 MB, free: 2.258 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000455/0.02898, allocations: 167.8 kB / 303 MB, free: 2.094 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.0008482/0.02983, allocations: 420.1 kB / 303.4 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006715/0.0305, allocations: 0.9372 MB / 304.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.0305, allocations: 0 / 304.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.09009/0.1206, allocations: 0.8334 MB / 305.2 MB, free: 39.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.1211, allocations: 112.8 kB / 305.3 MB, free: 39.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.1227, allocations: 0.8943 MB / 306.2 MB, free: 39.13 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.238e-05/0.1228, allocations: 136.6 kB / 306.4 MB, free: 39.06 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.1229, allocations: 43.5 kB / 306.4 MB, free: 39.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.123, allocations: 36.48 kB / 306.4 MB, free: 39.05 MB / 282.7 MB Notification: Performance of SimCode: time 1.222e-06/0.123, allocations: 0 / 306.4 MB, free: 39.05 MB / 282.7 MB Notification: Performance of Templates: time 0.01208/0.1351, allocations: 9.165 MB / 315.6 MB, free: 37.09 MB / 282.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.2432010280899704]