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.001965/0.001965, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.002242/0.002242, allocations: 194.6 kB / 23.71 MB, free: 4.406 MB / 14.72 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.494/1.494, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 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.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 0.001601/0.001601, allocations: 47.92 kB / 370.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2785, allocations: 52.17 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004436/0.283, allocations: 2.534 MB / 425.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.2843, allocations: 0.6467 MB / 426.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.2844, allocations: 4 kB / 426.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.2846, allocations: 39.58 kB / 426.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.2848, allocations: 79.27 kB / 426.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.2851, allocations: 95.8 kB / 426.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004098/0.2855, allocations: 362.5 kB / 426.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.2857, allocations: 60.89 kB / 426.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.2859, allocations: 147.5 kB / 427 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.2861, allocations: 143.4 kB / 427.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.376e-05/0.2862, allocations: 32 kB / 427.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.758e-05/0.2863, allocations: 28 kB / 427.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.899e-05/0.2863, allocations: 67.81 kB / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.2865, allocations: 127.4 kB / 427.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004104/0.2869, allocations: 343.9 kB / 427.7 MB, free: 9.754 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2869, allocations: 4 kB / 427.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2869, allocations: 0 / 427.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.2869, allocations: 4 kB / 427.8 MB, free: 9.746 MB / 334.1 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.001534/0.2884, allocations: 0.5715 MB / 428.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.2885, allocations: 8.031 kB / 428.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.234e-05/0.2886, allocations: 32.75 kB / 428.4 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.289, allocations: 210.9 kB / 428.6 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.289, allocations: 16.81 kB / 428.6 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.289, allocations: 20.38 kB / 428.6 MB, free: 8.836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007299/0.2898, allocations: 354.3 kB / 429 MB, free: 8.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.2898, allocations: 4 kB / 429 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.2898, allocations: 8 kB / 429 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.2898, allocations: 4 kB / 429 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007713/0.2906, allocations: 265.6 kB / 429.2 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.2923, allocations: 0.9225 MB / 430.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.2942, allocations: 434.2 kB / 430.6 MB, free: 6.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003985/0.2946, allocations: 132.8 kB / 430.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.2947, allocations: 3.984 kB / 430.7 MB, free: 6.633 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.2947, allocations: 38.55 kB / 430.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.2947, allocations: 0 / 430.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.004864/0.2996, allocations: 0.9505 MB / 431.7 MB, free: 5.629 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.2996, allocations: 51.41 kB / 431.7 MB, free: 5.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.2998, allocations: 203 kB / 431.9 MB, free: 5.359 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.2999, allocations: 29.7 kB / 432 MB, free: 5.324 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.3, allocations: 168.3 kB / 432.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.3001, allocations: 51.53 kB / 432.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.427e-05/0.3001, allocations: 41.62 kB / 432.2 MB, free: 5.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.3003, allocations: 330.8 kB / 432.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/0.3007, allocations: 103.9 kB / 432.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/0.301, allocations: 129.6 kB / 432.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006724/0.3017, allocations: 232.4 kB / 433 MB, free: 4.262 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3017, allocations: 0 / 433 MB, free: 4.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002865/0.3046, allocations: 0.6307 MB / 433.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3046, allocations: 4 kB / 433.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3046, allocations: 0 / 433.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007477/0.3053, allocations: 220.7 kB / 433.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.3055, allocations: 35.97 kB / 433.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006979/0.3125, allocations: 2.589 MB / 436.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.3128, allocations: 35.8 kB / 436.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.3128, allocations: 8 kB / 436.5 MB, free: 0.6289 MB / 334.1 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 0.0001734/0.313, allocations: 137.8 kB / 436.7 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.313, allocations: 19.84 kB / 436.7 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.28e-05/0.3131, allocations: 21.45 kB / 436.7 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3131, allocations: 4 kB / 436.7 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.3131, allocations: 0 / 436.7 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3131, allocations: 0 / 436.7 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.3134, allocations: 229.1 kB / 436.9 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3134, allocations: 0 / 436.9 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.3136, allocations: 27.97 kB / 437 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006722/0.3142, allocations: 228.7 kB / 437.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.3142, allocations: 0 / 437.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006596/0.3208, allocations: 2.582 MB / 439.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3208, allocations: 3.938 kB / 439.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/0.324, allocations: 0.8396 MB / 440.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.3241, allocations: 19.83 kB / 440.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.3241, allocations: 8.062 kB / 440.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.3244, allocations: 35.91 kB / 440.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.3244, allocations: 7.984 kB / 440.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.3244, allocations: 11.98 kB / 440.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.3246, allocations: 144.6 kB / 440.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3246, allocations: 0 / 440.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004637/0.325, allocations: 83.83 kB / 440.9 MB, free: 12.07 MB / 350.1 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 0.000138/0.3252, allocations: 110.3 kB / 441 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.3267, allocations: 449.4 kB / 441.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.3267, allocations: 4 kB / 441.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.3277, allocations: 322.5 kB / 441.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.328, allocations: 20 kB / 441.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.3294, allocations: 0.5608 MB / 442.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.3296, allocations: 133.8 kB / 442.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.238e-05/0.3296, allocations: 13.42 kB / 442.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.3297, allocations: 15.44 kB / 442.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3297, allocations: 4 kB / 442.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Templates: time 0.009282/0.339, allocations: 4.922 MB / 447.4 MB, free: 5.469 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.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.831513291224837]