Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.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.0009947/0.0009947, allocations: 80.72 kB / 22.21 MB, free: 2.293 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.0009849/0.0009849, allocations: 146 kB / 25.59 MB, free: 8.918 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.9136/0.9136, allocations: 173.4 MB / 202.2 MB, free: 8.277 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.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.02e-07/9.02e-07, allocations: 0 / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.554e-05, allocations: 4.844 kB / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.002534/0.002549, allocations: 2.679 MB / 271.9 MB, free: 7.098 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009209/0.00347, allocations: 0.6597 MB / 272.5 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.704e-05/0.003567, allocations: 7.938 kB / 272.5 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.003674, allocations: 47.52 kB / 272.6 MB, free: 6.383 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.003777, allocations: 85.3 kB / 272.7 MB, free: 6.301 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.003972, allocations: 100.5 kB / 272.8 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.004301, allocations: 366.3 kB / 273.1 MB, free: 5.844 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.004422, allocations: 66.91 kB / 273.2 MB, free: 5.777 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.00462, allocations: 211.5 kB / 273.4 MB, free: 5.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.004742, allocations: 127.6 kB / 273.5 MB, free: 5.445 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.004776, allocations: 32 kB / 273.6 MB, free: 5.414 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.916e-05/0.004805, allocations: 28 kB / 273.6 MB, free: 5.387 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.107e-05/0.004846, allocations: 63.75 kB / 273.6 MB, free: 5.324 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.973e-05/0.004916, allocations: 113 kB / 273.8 MB, free: 5.215 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.005117, allocations: 247.2 kB / 274 MB, free: 4.973 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005119, allocations: 0 / 274 MB, free: 4.973 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.00512, allocations: 0.5312 kB / 274 MB, free: 4.973 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.005124, allocations: 0.6875 kB / 274 MB, free: 4.973 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007032/0.005827, allocations: 0.6353 MB / 274.6 MB, free: 4.305 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.807e-05/0.005855, allocations: 8.031 kB / 274.6 MB, free: 4.297 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/0.00592, allocations: 52.75 kB / 274.7 MB, free: 4.246 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.006238, allocations: 205 kB / 274.9 MB, free: 4.016 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.006255, allocations: 16.88 kB / 274.9 MB, free: 3.996 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.006292, allocations: 24.36 kB / 274.9 MB, free: 3.973 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.0066, allocations: 292.6 kB / 275.2 MB, free: 3.656 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.006608, allocations: 192 / 275.2 MB, free: 3.656 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.006626, allocations: 8.375 kB / 275.2 MB, free: 3.648 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.006634, allocations: 11.94 kB / 275.2 MB, free: 3.637 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.006741, allocations: 75.36 kB / 275.3 MB, free: 3.566 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008317/0.007573, allocations: 0.9792 MB / 276.3 MB, free: 2.527 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.008039, allocations: 206.9 kB / 276.5 MB, free: 2.312 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.046e-05/0.00811, allocations: 55.66 kB / 276.6 MB, free: 2.254 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.008125, allocations: 4 kB / 276.6 MB, free: 2.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.008144, allocations: 33.39 kB / 276.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/0.008146, allocations: 0 / 276.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.001459/0.009605, allocations: 0.5426 MB / 277.1 MB, free: 1.656 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.009625, allocations: 55.41 kB / 277.2 MB, free: 1.59 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.009741, allocations: 257.3 kB / 277.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.009759, allocations: 29.7 kB / 277.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.009833, allocations: 207 kB / 277.7 MB, free: 1.078 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.009864, allocations: 59.52 kB / 277.7 MB, free: 1.02 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.009917, allocations: 47.33 kB / 277.8 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003483/0.01027, allocations: 0.4962 MB / 278.3 MB, free: 468 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.556e-05/0.01031, allocations: 23.97 kB / 278.3 MB, free: 444 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.312e-05/0.01036, allocations: 51.33 kB / 278.3 MB, free: 384 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.803e-05/0.01046, allocations: 81.62 kB / 278.4 MB, free: 296 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01046, allocations: 0 / 278.4 MB, free: 296 kB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008555/0.01132, allocations: 376.7 kB / 278.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.01133, allocations: 10.81 kB / 278.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01134, allocations: 3.984 kB / 278.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003478/0.01168, allocations: 147.5 kB / 278.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.14e-05/0.01177, allocations: 35.92 kB / 279 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.01383, allocations: 2.356 MB / 281.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.373e-05/0.01392, allocations: 31.94 kB / 281.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.01394, allocations: 11.98 kB / 281.4 MB, free: 13.2 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 8.748e-05/0.01403, allocations: 164.5 kB / 281.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.01406, allocations: 19.91 kB / 281.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.01409, allocations: 25.45 kB / 281.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.0141, allocations: 4 kB / 281.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.0141, allocations: 3.938 kB / 281.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.0141, allocations: 0 / 281.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.01428, allocations: 181.1 kB / 281.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.01428, allocations: 0 / 281.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-05/0.01436, allocations: 27.98 kB / 281.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003223/0.01468, allocations: 151.5 kB / 281.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.01469, allocations: 0 / 281.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/0.01664, allocations: 2.357 MB / 284.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01664, allocations: 0 / 284.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009268/0.01756, allocations: 0.5381 MB / 284.8 MB, free: 9.562 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.01758, allocations: 15.84 kB / 284.9 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.0176, allocations: 7.984 kB / 284.9 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.01771, allocations: 19.98 kB / 284.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.01774, allocations: 11.98 kB / 284.9 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.01775, allocations: 7.984 kB / 284.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.434e-05/0.01781, allocations: 184.3 kB / 285.1 MB, free: 9.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01781, allocations: 0 / 285.1 MB, free: 9.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002624/0.01807, allocations: 79.84 kB / 285.2 MB, free: 9.242 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (CL.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 7.217e-05/0.01815, allocations: 95.25 kB / 285.3 MB, free: 9.141 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007127/0.01886, allocations: 335.8 kB / 285.6 MB, free: 8.793 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.01886, allocations: 0 / 285.6 MB, free: 8.793 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.01917, allocations: 289.3 kB / 285.9 MB, free: 8.488 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.01938, allocations: 35.92 kB / 285.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007098/0.02009, allocations: 473.3 kB / 286.4 MB, free: 7.957 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.185e-05/0.02013, allocations: 79.97 kB / 286.4 MB, free: 7.859 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.066e-05/0.02017, allocations: 17.48 kB / 286.5 MB, free: 7.844 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.051e-05/0.02025, allocations: 94.19 kB / 286.5 MB, free: 7.75 MB / 266.7 MB Notification: Performance of SimCode: time 6.12e-07/0.02025, allocations: 4 kB / 286.6 MB, free: 7.746 MB / 266.7 MB Notification: Performance of Templates: time 0.00598/0.02623, allocations: 5.243 MB / 291.8 MB, free: 2.504 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.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: 2.693850256036967]