Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001114/0.001114, allocations: 81.86 kB / 21.42 MB, free: 3.074 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.001389/0.001389, allocations: 168.7 kB / 24.82 MB, free: 8.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.961/0.961, allocations: 177.1 MB / 205.3 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.71e-05, allocations: 2.312 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005023/0.005051, allocations: 3.914 MB / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003041/0.008091, allocations: 1.574 MB / 278.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004008/0.008492, allocations: 15.88 kB / 278.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007426/0.009234, allocations: 258.7 kB / 279.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000735/0.009969, allocations: 313.9 kB / 279.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006916/0.01066, allocations: 271.2 kB / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009333/0.01159, allocations: 0.7471 MB / 280.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005181/0.01211, allocations: 117.5 kB / 280.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006255/0.01274, allocations: 407.1 kB / 281 MB, free: 9.676 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.01307, allocations: 247.3 kB / 281.2 MB, free: 9.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.378e-05/0.01314, allocations: 52 kB / 281.3 MB, free: 9.383 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.01337, allocations: 103.9 kB / 281.4 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.0135, allocations: 147.5 kB / 281.5 MB, free: 9.137 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.01369, allocations: 203.5 kB / 281.7 MB, free: 8.938 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006266/0.01431, allocations: 0.5176 MB / 282.2 MB, free: 8.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.01432, allocations: 0 / 282.2 MB, free: 8.418 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01432, allocations: 0 / 282.2 MB, free: 8.418 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.01433, allocations: 0 / 282.2 MB, free: 8.418 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.001185/0.01551, allocations: 1.004 MB / 283.2 MB, free: 7.371 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.01555, allocations: 8.031 kB / 283.3 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.01577, allocations: 108.5 kB / 283.4 MB, free: 7.258 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.0162, allocations: 359.1 kB / 283.7 MB, free: 6.875 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.01623, allocations: 29.38 kB / 283.7 MB, free: 6.848 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/0.01628, allocations: 40.38 kB / 283.8 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.01675, allocations: 434.1 kB / 284.2 MB, free: 6.332 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.01676, allocations: 11.94 kB / 284.2 MB, free: 6.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.01679, allocations: 16 kB / 284.2 MB, free: 6.305 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.0168, allocations: 8 kB / 284.2 MB, free: 6.297 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.01702, allocations: 138.7 kB / 284.4 MB, free: 6.164 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.01865, allocations: 1.618 MB / 286 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.01903, allocations: 264.4 kB / 286.3 MB, free: 4.195 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.01917, allocations: 91.64 kB / 286.3 MB, free: 4.102 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.01919, allocations: 11.75 kB / 286.4 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002946/0.01949, allocations: 325 kB / 286.7 MB, free: 3.711 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.653e-06/0.01949, allocations: 0 / 286.7 MB, free: 3.711 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.00111/0.0206, allocations: 0.5521 MB / 287.2 MB, free: 3.137 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.02066, allocations: 162.2 kB / 287.4 MB, free: 2.941 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006083/0.02127, allocations: 462.3 kB / 287.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.0213, allocations: 33.7 kB / 287.9 MB, free: 2.438 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.02148, allocations: 319.4 kB / 288.2 MB, free: 2.121 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.341e-05/0.02156, allocations: 126.9 kB / 288.3 MB, free: 1.996 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.02167, allocations: 87.77 kB / 288.4 MB, free: 1.902 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.02183, allocations: 0.5351 MB / 288.9 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.532e-05/0.02191, allocations: 48.95 kB / 289 MB, free: 1.309 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.02211, allocations: 295 kB / 289.3 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.02232, allocations: 160.6 kB / 289.4 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.02232, allocations: 0 / 289.4 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004297/0.02275, allocations: 352.3 kB / 289.8 MB, free: 416 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.02276, allocations: 7.938 kB / 289.8 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.02277, allocations: 0 / 289.8 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003197/0.02309, allocations: 134.6 kB / 289.9 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.02324, allocations: 51.91 kB / 289.9 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1235/0.1468, allocations: 8.112 MB / 298.1 MB, free: 16.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.1471, allocations: 53.45 kB / 298.1 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.1471, allocations: 9.922 kB / 298.1 MB, free: 16.98 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.0001753/0.1472, allocations: 189.6 kB / 298.3 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/0.1473, allocations: 64.94 kB / 298.4 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.1478, allocations: 377.9 kB / 298.7 MB, free: 16.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1478, allocations: 4.312 kB / 298.7 MB, free: 16.72 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.1478, allocations: 0.6562 kB / 298.7 MB, free: 16.72 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1478, allocations: 3.094 kB / 298.7 MB, free: 16.72 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.1481, allocations: 285.6 kB / 299 MB, free: 16.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1481, allocations: 0 / 299 MB, free: 16.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.839e-05/0.1482, allocations: 31.03 kB / 299.1 MB, free: 16.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/0.1485, allocations: 139.2 kB / 299.2 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.1485, allocations: 7.531 kB / 299.2 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/0.1506, allocations: 7.666 MB / 306.9 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.1506, allocations: 10.5 kB / 306.9 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004852/0.1511, allocations: 429.3 kB / 307.3 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.1512, allocations: 78.06 kB / 307.4 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.1512, allocations: 10.72 kB / 307.4 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.1514, allocations: 25.61 kB / 307.4 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.1515, allocations: 53.83 kB / 307.5 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.1515, allocations: 13.47 kB / 307.5 MB, free: 9.094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002317/0.1518, allocations: 291.2 kB / 307.8 MB, free: 8.969 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1518, allocations: 0 / 307.8 MB, free: 8.969 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006881/0.1524, allocations: 173.7 kB / 307.9 MB, free: 8.961 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.000898/0.1533, allocations: 412.7 kB / 308.3 MB, free: 8.844 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000655/0.154, allocations: 0.9013 MB / 309.2 MB, free: 8.137 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.154, allocations: 0 / 309.2 MB, free: 8.137 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003817/0.1544, allocations: 0.8285 MB / 310.1 MB, free: 7.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.1548, allocations: 122.9 kB / 310.2 MB, free: 7.414 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.1563, allocations: 0.8924 MB / 311.1 MB, free: 6.977 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.1564, allocations: 136.4 kB / 311.2 MB, free: 6.898 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.1566, allocations: 47.42 kB / 311.3 MB, free: 6.883 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.1568, allocations: 174.7 kB / 311.4 MB, free: 6.82 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1568, allocations: 0 / 311.4 MB, free: 6.82 MB / 266.7 MB Notification: Performance of Templates: time 0.01364/0.1704, allocations: 9.788 MB / 321.2 MB, free: 2.863 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.109903740696609]