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.0008373/0.0008373, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003086/0.003086, allocations: 158.7 kB / 24.7 MB, free: 9.441 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 0.9124/0.9124, allocations: 177 MB / 204.9 MB, free: 5.746 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.432e-06/1.432e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.177e-05, allocations: 6.281 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.00393/0.003961, allocations: 3.661 MB / 329.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002606/0.006568, allocations: 1.561 MB / 331 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003428/0.006911, allocations: 15.94 kB / 331 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006993/0.00761, allocations: 257.8 kB / 331.3 MB, free: 9.859 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006005/0.00821, allocations: 313.9 kB / 331.6 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005393/0.00875, allocations: 275.2 kB / 331.9 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005973/0.009347, allocations: 0.7548 MB / 332.6 MB, free: 8.523 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.009568, allocations: 113.5 kB / 332.7 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004413/0.01001, allocations: 407.1 kB / 333.1 MB, free: 8.016 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.01027, allocations: 243.3 kB / 333.4 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.937e-05/0.01033, allocations: 52 kB / 333.4 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.01051, allocations: 111.8 kB / 333.5 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.01062, allocations: 147.4 kB / 333.7 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.01084, allocations: 203.5 kB / 333.9 MB, free: 7.273 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005857/0.01143, allocations: 0.7281 MB / 334.6 MB, free: 6.543 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.01143, allocations: 4 kB / 334.6 MB, free: 6.539 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.01143, allocations: 4 kB / 334.6 MB, free: 6.535 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.01144, allocations: 4 kB / 334.6 MB, free: 6.531 MB / 298.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.001121/0.01256, allocations: 0.8848 MB / 335.5 MB, free: 5.609 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.0126, allocations: 15.98 kB / 335.5 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.01277, allocations: 80.45 kB / 335.6 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.01317, allocations: 355.6 kB / 335.9 MB, free: 5.141 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.01319, allocations: 33.38 kB / 336 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.01323, allocations: 36.38 kB / 336 MB, free: 5.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005206/0.01375, allocations: 0.5313 MB / 336.5 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.01376, allocations: 192 / 336.5 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.01379, allocations: 20.38 kB / 336.5 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.0138, allocations: 15.94 kB / 336.6 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/0.01418, allocations: 315.8 kB / 336.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.01563, allocations: 1.487 MB / 338.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.01608, allocations: 338.5 kB / 338.7 MB, free: 2.242 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.01628, allocations: 157.4 kB / 338.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.0163, allocations: 4 kB / 338.8 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003333/0.01664, allocations: 365.2 kB / 339.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.443e-06/0.01664, allocations: 4 kB / 339.2 MB, free: 1.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001157/0.01779, allocations: 0.7246 MB / 339.9 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.01786, allocations: 162.2 kB / 340.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.01822, allocations: 497.8 kB / 340.6 MB, free: 236 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.01825, allocations: 37.69 kB / 340.6 MB, free: 192 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/0.0186, allocations: 256.9 kB / 340.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.145e-05/0.01866, allocations: 123 kB / 341 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.01874, allocations: 78.19 kB / 341.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.01884, allocations: 366.7 kB / 341.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.019, allocations: 121 kB / 341.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.01923, allocations: 345.5 kB / 341.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.01952, allocations: 273.1 kB / 342.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01953, allocations: 0 / 342.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004851/0.02001, allocations: 473.1 kB / 342.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.02003, allocations: 15.12 kB / 342.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.02004, allocations: 0 / 342.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000321/0.02036, allocations: 159.3 kB / 342.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.02047, allocations: 43.97 kB / 342.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003293/0.02377, allocations: 6.123 MB / 348.9 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.02395, allocations: 55.94 kB / 349 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.02397, allocations: 12 kB / 349 MB, free: 7.273 MB / 314.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.0001656/0.02413, allocations: 191.7 kB / 349.2 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.02418, allocations: 55.61 kB / 349.2 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005951/0.02477, allocations: 0.497 MB / 349.7 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.02478, allocations: 4 kB / 349.7 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.02478, allocations: 128 / 349.7 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.02478, allocations: 7.938 kB / 349.8 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.02507, allocations: 353 kB / 350.1 MB, free: 6.121 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.02507, allocations: 0 / 350.1 MB, free: 6.121 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.715e-05/0.02513, allocations: 31.92 kB / 350.1 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002363/0.02537, allocations: 155.3 kB / 350.3 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.02539, allocations: 8 kB / 350.3 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003051/0.02844, allocations: 5.832 MB / 356.1 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.02844, allocations: 0 / 356.1 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005682/0.02901, allocations: 0.5113 MB / 356.6 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.02913, allocations: 79.5 kB / 356.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.02916, allocations: 12.11 kB / 356.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.02929, allocations: 31.98 kB / 356.7 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.02942, allocations: 55.89 kB / 356.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.02944, allocations: 12 kB / 356.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002761/0.02972, allocations: 355.1 kB / 357.2 MB, free: 14.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02972, allocations: 0 / 357.2 MB, free: 14.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000565/0.03028, allocations: 167.8 kB / 357.3 MB, free: 14.43 MB / 330.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.0007955/0.03108, allocations: 477.1 kB / 357.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007548/0.03183, allocations: 0.7756 MB / 358.6 MB, free: 13.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.03184, allocations: 12.12 kB / 358.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.03225, allocations: 0.6353 MB / 359.2 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.0326, allocations: 108.8 kB / 359.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.03391, allocations: 0.9936 MB / 360.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.03408, allocations: 267.4 kB / 360.6 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.733e-05/0.03415, allocations: 32.5 kB / 360.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.393e-06/0.03415, allocations: 0 / 360.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of Templates: time 0.01254/0.04668, allocations: 14.95 MB / 375.6 MB, free: 12.2 MB / 346.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.824340614490211]