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.002089/0.002089, allocations: 99.86 kB / 20.96 MB, free: 3.457 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.002696/0.002696, allocations: 145.1 kB / 24.26 MB, free: 168 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 1.554/1.554, allocations: 173.3 MB / 200.8 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 178] 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.843e-06/1.843e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.153e-05, allocations: 2.312 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.01094/0.01097, allocations: 3.919 MB / 271.2 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005241/0.01621, allocations: 1.402 MB / 272.6 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004013/0.01661, allocations: 11.88 kB / 272.7 MB, free: 1.371 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.01791, allocations: 250.7 kB / 272.9 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.01901, allocations: 278.1 kB / 273.2 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.02022, allocations: 283.2 kB / 273.4 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001509/0.02173, allocations: 0.7355 MB / 274.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004122/0.02215, allocations: 113.5 kB / 274.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009776/0.02312, allocations: 407.1 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006231/0.02375, allocations: 243.3 kB / 274.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.02391, allocations: 52 kB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003958/0.02431, allocations: 99.89 kB / 275.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002873/0.02459, allocations: 147.4 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004498/0.02504, allocations: 199.5 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.02664, allocations: 0.7242 MB / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.02665, allocations: 0 / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.02665, allocations: 0 / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.02666, allocations: 0 / 276.1 MB, free: 13.87 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.002916/0.02957, allocations: 1.02 MB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.02963, allocations: 12.92 kB / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003131/0.02994, allocations: 96.56 kB / 277.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.031, allocations: 354.4 kB / 277.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.468e-05/0.03107, allocations: 29.38 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.03118, allocations: 40.38 kB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.03279, allocations: 0.5451 MB / 278.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.03282, allocations: 3.938 kB / 278.2 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.291e-05/0.03289, allocations: 20 kB / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.03291, allocations: 8 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.03411, allocations: 299.8 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004461/0.03858, allocations: 1.832 MB / 280.4 MB, free: 9.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.03958, allocations: 342.9 kB / 280.7 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004594/0.04004, allocations: 167.4 kB / 280.9 MB, free: 8.895 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.212e-05/0.0401, allocations: 8 kB / 280.9 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008144/0.04091, allocations: 385 kB / 281.3 MB, free: 8.449 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.445e-06/0.04091, allocations: 0 / 281.3 MB, free: 8.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.003008/0.04392, allocations: 0.7201 MB / 282 MB, free: 7.707 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.04405, allocations: 162.2 kB / 282.1 MB, free: 7.512 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008002/0.04485, allocations: 0.5415 MB / 282.7 MB, free: 6.957 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.831e-05/0.04492, allocations: 37.7 kB / 282.7 MB, free: 6.914 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004428/0.04536, allocations: 323.4 kB / 283 MB, free: 6.594 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.04558, allocations: 134.9 kB / 283.2 MB, free: 6.461 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.04584, allocations: 95.81 kB / 283.3 MB, free: 6.359 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0005076/0.04635, allocations: 0.5625 MB / 283.8 MB, free: 5.785 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004071/0.04676, allocations: 109 kB / 283.9 MB, free: 5.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007071/0.04746, allocations: 359 kB / 284.3 MB, free: 5.254 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000818/0.04828, allocations: 272.7 kB / 284.6 MB, free: 4.973 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.04829, allocations: 0 / 284.6 MB, free: 4.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001499/0.04978, allocations: 496.3 kB / 285 MB, free: 4.465 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.04981, allocations: 8 kB / 285 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.04982, allocations: 0 / 285 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008072/0.05063, allocations: 166.7 kB / 285.2 MB, free: 4.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.05098, allocations: 51.91 kB / 285.3 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1494/0.2003, allocations: 8.569 MB / 293.8 MB, free: 26.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004463/0.2008, allocations: 56.33 kB / 293.9 MB, free: 26.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.2008, allocations: 15.77 kB / 293.9 MB, free: 26.97 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.0002907/0.2011, allocations: 213.7 kB / 294.1 MB, free: 26.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.2013, allocations: 64.12 kB / 294.2 MB, free: 26.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.2023, allocations: 0.4971 MB / 294.7 MB, free: 26.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.2023, allocations: 4.688 kB / 294.7 MB, free: 26.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.2023, allocations: 0 / 294.7 MB, free: 26.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.2023, allocations: 3.438 kB / 294.7 MB, free: 26.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005299/0.2029, allocations: 430.7 kB / 295.1 MB, free: 26.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2029, allocations: 2.219 kB / 295.1 MB, free: 26.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.203, allocations: 33.72 kB / 295.1 MB, free: 26.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004404/0.2035, allocations: 161.7 kB / 295.3 MB, free: 26.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.2035, allocations: 11.91 kB / 295.3 MB, free: 26.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003923/0.2074, allocations: 8.123 MB / 303.4 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2074, allocations: 1.359 kB / 303.4 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009921/0.2084, allocations: 0.5348 MB / 304 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/0.2086, allocations: 84.19 kB / 304 MB, free: 18.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.302e-05/0.2087, allocations: 11.19 kB / 304 MB, free: 18.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.2089, allocations: 29.84 kB / 304.1 MB, free: 18.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.2091, allocations: 60.03 kB / 304.1 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.2091, allocations: 11.36 kB / 304.1 MB, free: 18.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003693/0.2095, allocations: 356.8 kB / 304.5 MB, free: 18.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2095, allocations: 3.938 kB / 304.5 MB, free: 18.33 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007966/0.2103, allocations: 170.7 kB / 304.7 MB, free: 18.31 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.002928/0.2132, allocations: 462 kB / 305.1 MB, free: 18.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.2144, allocations: 1.025 MB / 306.1 MB, free: 17.37 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2144, allocations: 1.094 kB / 306.1 MB, free: 17.37 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006486/0.215, allocations: 0.889 MB / 307 MB, free: 16.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005576/0.2156, allocations: 107.4 kB / 307.1 MB, free: 16.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.2173, allocations: 0.9306 MB / 308.1 MB, free: 16.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.2176, allocations: 264.5 kB / 308.3 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000181/0.2178, allocations: 45.28 kB / 308.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.437e-05/0.2179, allocations: 31.83 kB / 308.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2179, allocations: 1.656 kB / 308.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of Templates: time 0.01503/0.2329, allocations: 9.143 MB / 317.5 MB, free: 11.01 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.068668169900775]