Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.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.0009822/0.0009822, allocations: 71.77 kB / 21.69 MB, free: 2.852 MB / 18.57 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.000948/0.000948, allocations: 167.6 kB / 24.99 MB, free: 8.25 MB / 18.57 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 0.9911/0.9911, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 273.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.86e-05, allocations: 2.312 kB / 273.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004546/0.004574, allocations: 2.733 MB / 275.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.006021, allocations: 0.701 MB / 276.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.006186, allocations: 7.938 kB / 276.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.006376, allocations: 47.56 kB / 276.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.006523, allocations: 75.22 kB / 276.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.006881, allocations: 119.7 kB / 276.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004381/0.007319, allocations: 378.3 kB / 277.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.007501, allocations: 64.89 kB / 277.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.007826, allocations: 203.6 kB / 277.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.007968, allocations: 131.6 kB / 277.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.008004, allocations: 32 kB / 277.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.428e-05/0.008069, allocations: 32 kB / 277.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.032e-05/0.008109, allocations: 67.8 kB / 277.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.472e-05/0.008204, allocations: 107.7 kB / 277.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.008468, allocations: 247.2 kB / 278 MB, free: 12.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.008471, allocations: 3.938 kB / 278 MB, free: 12.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.008472, allocations: 0 / 278 MB, free: 12.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.008478, allocations: 4 kB / 278 MB, free: 12.9 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008323/0.00931, allocations: 0.6441 MB / 278.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.009347, allocations: 8.031 kB / 278.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.009499, allocations: 48.75 kB / 278.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.009744, allocations: 217.1 kB / 278.9 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.009759, allocations: 12.88 kB / 278.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.009795, allocations: 24.33 kB / 278.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004095/0.0102, allocations: 300.7 kB / 279.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.01021, allocations: 4.125 kB / 279.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.01023, allocations: 8.375 kB / 279.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.01025, allocations: 11.92 kB / 279.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.01041, allocations: 94.92 kB / 279.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.01143, allocations: 1.026 MB / 280.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005362/0.01196, allocations: 207 kB / 280.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.01207, allocations: 70.59 kB / 280.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.01209, allocations: 8 kB / 280.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.01212, allocations: 37.38 kB / 280.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 2.484e-06/0.01212, allocations: 0 / 280.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.001723/0.01385, allocations: 0.5553 MB / 281.2 MB, free: 9.441 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.01387, allocations: 63.39 kB / 281.3 MB, free: 9.367 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.01402, allocations: 249.8 kB / 281.5 MB, free: 9.105 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.01404, allocations: 29.7 kB / 281.6 MB, free: 9.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.174e-05/0.01414, allocations: 219.1 kB / 281.8 MB, free: 8.852 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.01417, allocations: 51.53 kB / 281.8 MB, free: 8.801 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.01423, allocations: 47.3 kB / 281.9 MB, free: 8.746 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.01434, allocations: 0.5001 MB / 282.4 MB, free: 8.234 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.042e-05/0.01441, allocations: 27.98 kB / 282.4 MB, free: 8.207 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.01449, allocations: 57.69 kB / 282.5 MB, free: 8.145 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.01463, allocations: 95.25 kB / 282.6 MB, free: 8.043 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01464, allocations: 4 kB / 282.6 MB, free: 8.039 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009343/0.01557, allocations: 395.1 kB / 282.9 MB, free: 7.645 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.01559, allocations: 8 kB / 283 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.01559, allocations: 0 / 283 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004123/0.01601, allocations: 147.5 kB / 283.1 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.786e-05/0.0161, allocations: 39.97 kB / 283.1 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.01871, allocations: 2.391 MB / 285.5 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.01883, allocations: 31.94 kB / 285.6 MB, free: 4.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.01884, allocations: 4 kB / 285.6 MB, free: 4.898 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 9.946e-05/0.01894, allocations: 160.6 kB / 285.7 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.01897, allocations: 23.91 kB / 285.7 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.01901, allocations: 29.39 kB / 285.8 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.01901, allocations: 4 kB / 285.8 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01901, allocations: 0 / 285.8 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.01902, allocations: 0 / 285.8 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.01922, allocations: 228.4 kB / 286 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01922, allocations: 0 / 286 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.242e-05/0.0193, allocations: 35.91 kB / 286 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003266/0.01963, allocations: 147.5 kB / 286.2 MB, free: 4.234 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.01964, allocations: 0 / 286.2 MB, free: 4.234 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/0.02175, allocations: 2.387 MB / 288.6 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.02175, allocations: 96 / 288.6 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.02278, allocations: 0.5577 MB / 289.1 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.02281, allocations: 23.84 kB / 289.1 MB, free: 1.121 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.02283, allocations: 0 / 289.1 MB, free: 1.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.02294, allocations: 31.91 kB / 289.2 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.02299, allocations: 7.984 kB / 289.2 MB, free: 1.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.023, allocations: 4 kB / 289.2 MB, free: 1.078 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.985e-05/0.02309, allocations: 188.5 kB / 289.4 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02309, allocations: 0 / 289.4 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003228/0.02341, allocations: 83.89 kB / 289.5 MB, free: 0.8125 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 0.0001056/0.02352, allocations: 95.25 kB / 289.5 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005636/0.02408, allocations: 356.2 kB / 289.9 MB, free: 356 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.02408, allocations: 0 / 289.9 MB, free: 356 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.02444, allocations: 285.4 kB / 290.2 MB, free: 48 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.0247, allocations: 36 kB / 290.2 MB, free: 12 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.02573, allocations: 487.2 kB / 290.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.17e-05/0.02578, allocations: 83.91 kB / 290.8 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.455e-05/0.02584, allocations: 21.47 kB / 290.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.02587, allocations: 16.5 kB / 290.8 MB, free: 15.37 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.02588, allocations: 0 / 290.8 MB, free: 15.37 MB / 282.7 MB Notification: Performance of Templates: time 0.006224/0.0321, allocations: 4.946 MB / 295.8 MB, free: 10.41 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.0538835271727294]