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.001456/0.001456, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001537/0.001537, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.455/1.455, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 2.113e-06/2.113e-06, allocations: 1.156 kB / 325.1 MB, free: 384 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.703e-05, allocations: 6.219 kB / 325.1 MB, free: 376 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.008163/0.00819, allocations: 3.675 MB / 328.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005112/0.0133, allocations: 1.554 MB / 330.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005992/0.0139, allocations: 12.25 kB / 330.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.01516, allocations: 252.6 kB / 330.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.01638, allocations: 322.8 kB / 330.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.01772, allocations: 267 kB / 331.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001753/0.01947, allocations: 0.7537 MB / 331.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003969/0.01987, allocations: 116.4 kB / 332 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009309/0.0208, allocations: 404.1 kB / 332.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005776/0.02137, allocations: 241.3 kB / 332.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.02151, allocations: 51.53 kB / 332.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004242/0.02193, allocations: 111.7 kB / 332.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002726/0.0222, allocations: 148.9 kB / 332.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004088/0.02261, allocations: 200.8 kB / 333.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.02396, allocations: 0.7389 MB / 333.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.02397, allocations: 1.031 kB / 333.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.02397, allocations: 0 / 333.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.02399, allocations: 0 / 333.9 MB, free: 10.71 MB / 302.1 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.002556/0.02654, allocations: 0.8883 MB / 334.8 MB, free: 10 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.02659, allocations: 13.47 kB / 334.8 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003685/0.02696, allocations: 80.47 kB / 334.9 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009646/0.02792, allocations: 353 kB / 335.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.02797, allocations: 29 kB / 335.2 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.64e-05/0.02807, allocations: 38.12 kB / 335.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.02939, allocations: 0.5343 MB / 335.8 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.02942, allocations: 3.938 kB / 335.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.006e-05/0.02949, allocations: 16.16 kB / 335.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.0295, allocations: 10 kB / 335.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.03055, allocations: 312.1 kB / 336.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003853/0.0344, allocations: 1.489 MB / 337.6 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.03551, allocations: 338.6 kB / 338 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005319/0.03604, allocations: 167.4 kB / 338.1 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.03608, allocations: 3.344 kB / 338.1 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009071/0.03698, allocations: 378.6 kB / 338.5 MB, free: 7.223 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 3.256e-06/0.03699, allocations: 0 / 338.5 MB, free: 7.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003602/0.04059, allocations: 0.7152 MB / 339.2 MB, free: 6.605 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.04074, allocations: 162.2 kB / 339.4 MB, free: 6.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.04177, allocations: 493.8 kB / 339.9 MB, free: 5.914 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.112e-05/0.04184, allocations: 37.7 kB / 339.9 MB, free: 5.871 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/0.04219, allocations: 256.7 kB / 340.1 MB, free: 5.617 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.04238, allocations: 127 kB / 340.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.04263, allocations: 78.19 kB / 340.3 MB, free: 5.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0004549/0.04309, allocations: 366.7 kB / 340.7 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004538/0.04354, allocations: 121 kB / 340.8 MB, free: 4.922 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007405/0.04428, allocations: 337.5 kB / 341.1 MB, free: 4.531 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000885/0.04516, allocations: 277.3 kB / 341.4 MB, free: 4.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.04517, allocations: 0 / 341.4 MB, free: 4.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001489/0.04666, allocations: 477 kB / 341.9 MB, free: 3.766 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.312e-05/0.04674, allocations: 4 kB / 341.9 MB, free: 3.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.04675, allocations: 64 / 341.9 MB, free: 3.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008503/0.0476, allocations: 167.4 kB / 342.1 MB, free: 3.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.04798, allocations: 43.97 kB / 342.1 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00618/0.05415, allocations: 6.122 MB / 348.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.0546, allocations: 51.98 kB / 348.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.05464, allocations: 15.98 kB / 348.3 MB, free: 12.95 MB / 318.1 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.0003238/0.05496, allocations: 192.4 kB / 348.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.05507, allocations: 51.67 kB / 348.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.05623, allocations: 0.4931 MB / 349 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/0.05625, allocations: 8 kB / 349 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.05626, allocations: 7.875 kB / 349 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.05627, allocations: 0 / 349 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005446/0.05681, allocations: 356.9 kB / 349.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.05682, allocations: 0 / 349.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.05697, allocations: 31.92 kB / 349.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004728/0.05745, allocations: 155.4 kB / 349.6 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.05748, allocations: 8 kB / 349.6 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005899/0.06337, allocations: 5.832 MB / 355.4 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.06338, allocations: 0 / 355.4 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.06454, allocations: 0.5074 MB / 355.9 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.06475, allocations: 83.5 kB / 356 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.06483, allocations: 15.98 kB / 356 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.06514, allocations: 28.05 kB / 356 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.0653, allocations: 55.89 kB / 356.1 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.06533, allocations: 8 kB / 356.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004937/0.06583, allocations: 363 kB / 356.4 MB, free: 4.273 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.06583, allocations: 0 / 356.4 MB, free: 4.273 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008709/0.0667, allocations: 167.8 kB / 356.6 MB, free: 4.109 MB / 318.1 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.001799/0.0685, allocations: 472.3 kB / 357.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.06983, allocations: 0.7834 MB / 357.9 MB, free: 2.996 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.06984, allocations: 0 / 357.9 MB, free: 2.996 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009726/0.07081, allocations: 0.6508 MB / 358.5 MB, free: 2.293 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006253/0.07143, allocations: 109.4 kB / 358.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.07372, allocations: 0.9638 MB / 359.6 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.07403, allocations: 259.4 kB / 359.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001937/0.07422, allocations: 47.34 kB / 359.9 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.472e-05/0.07432, allocations: 32.48 kB / 359.9 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.07432, allocations: 3.938 kB / 359.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of Templates: time 0.01838/0.0927, allocations: 9.029 MB / 368.9 MB, free: 7.934 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.885142918676138]