Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0007036/0.0007036, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0007554/0.0007554, allocations: 158.6 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8176/0.8176, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.926e-05, allocations: 2.281 kB / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.002636/0.002665, allocations: 2.485 MB / 302.2 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009111/0.003576, allocations: 0.6826 MB / 302.9 MB, free: 3.715 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.003692, allocations: 3.938 kB / 302.9 MB, free: 3.711 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.003828, allocations: 43.56 kB / 302.9 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.741e-05/0.003925, allocations: 79.28 kB / 303 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.004195, allocations: 107.7 kB / 303.1 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.004488, allocations: 370.4 kB / 303.5 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.004648, allocations: 60.89 kB / 303.5 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.004865, allocations: 203.6 kB / 303.7 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.004982, allocations: 127.6 kB / 303.8 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.793e-05/0.00502, allocations: 28 kB / 303.9 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.772e-05/0.005048, allocations: 32 kB / 303.9 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.00509, allocations: 71.73 kB / 304 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.12e-05/0.005161, allocations: 107.7 kB / 304.1 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.005409, allocations: 354.9 kB / 304.4 MB, free: 2.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.005412, allocations: 0 / 304.4 MB, free: 2.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.005414, allocations: 8 kB / 304.4 MB, free: 2.152 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.005419, allocations: 0 / 304.4 MB, free: 2.152 MB / 282.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.0007274/0.006147, allocations: 0.5793 MB / 305 MB, free: 1.543 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.006178, allocations: 11.98 kB / 305 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.006222, allocations: 36.69 kB / 305.1 MB, free: 1.496 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.006429, allocations: 190.3 kB / 305.2 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.006441, allocations: 12.88 kB / 305.3 MB, free: 1.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.006472, allocations: 28.38 kB / 305.3 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.006862, allocations: 355.5 kB / 305.6 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.006869, allocations: 192 / 305.6 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.006889, allocations: 4.375 kB / 305.6 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.006895, allocations: 15.88 kB / 305.7 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003896/0.007285, allocations: 265.8 kB / 305.9 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.008331, allocations: 0.935 MB / 306.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009042/0.009235, allocations: 426.3 kB / 307.3 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.00944, allocations: 136.8 kB / 307.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.009458, allocations: 4 kB / 307.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.009478, allocations: 30.56 kB / 307.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.009479, allocations: 0 / 307.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.002158/0.01164, allocations: 0.9469 MB / 308.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.01166, allocations: 51.41 kB / 308.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.01179, allocations: 207.1 kB / 308.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.01181, allocations: 29.7 kB / 308.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/0.01188, allocations: 160.3 kB / 308.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.01192, allocations: 55.58 kB / 308.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.01197, allocations: 33.69 kB / 308.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.323e-05/0.01205, allocations: 326.8 kB / 309.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.01222, allocations: 107.9 kB / 309.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.01239, allocations: 136.7 kB / 309.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.01272, allocations: 229.5 kB / 309.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01273, allocations: 0 / 309.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001282/0.01401, allocations: 0.6383 MB / 310.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.01402, allocations: 4 kB / 310.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.01403, allocations: 0 / 310.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003902/0.01442, allocations: 224.6 kB / 310.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.01449, allocations: 31.98 kB / 310.6 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003306/0.0178, allocations: 2.593 MB / 313.2 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.01791, allocations: 39.86 kB / 313.2 MB, free: 9.023 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.01792, allocations: 7.938 kB / 313.2 MB, free: 9.016 MB / 298.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 0.0001009/0.01802, allocations: 133.9 kB / 313.4 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.01805, allocations: 19.86 kB / 313.4 MB, free: 8.855 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.01807, allocations: 29.41 kB / 313.4 MB, free: 8.832 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.01807, allocations: 0 / 313.4 MB, free: 8.832 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.01807, allocations: 0 / 313.4 MB, free: 8.832 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01808, allocations: 3.984 kB / 313.4 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.01826, allocations: 217.2 kB / 313.6 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01826, allocations: 3.984 kB / 313.6 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.521e-05/0.01833, allocations: 27.98 kB / 313.6 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003365/0.01867, allocations: 224.6 kB / 313.9 MB, free: 8.332 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.01868, allocations: 7.984 kB / 313.9 MB, free: 8.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003095/0.02178, allocations: 2.586 MB / 316.5 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.02178, allocations: 0 / 316.5 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.02325, allocations: 0.8396 MB / 317.3 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.02327, allocations: 19.94 kB / 317.3 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.02328, allocations: 4 kB / 317.3 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.0234, allocations: 35.91 kB / 317.4 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.02343, allocations: 11.92 kB / 317.4 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.02345, allocations: 11.98 kB / 317.4 MB, free: 4.695 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.226e-05/0.02353, allocations: 148.4 kB / 317.5 MB, free: 4.551 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02353, allocations: 0 / 317.5 MB, free: 4.551 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002654/0.0238, allocations: 83.84 kB / 317.6 MB, free: 4.469 MB / 298.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.0001054/0.0239, allocations: 103.8 kB / 317.7 MB, free: 4.355 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007644/0.02467, allocations: 445.3 kB / 318.1 MB, free: 3.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.02467, allocations: 0 / 318.1 MB, free: 3.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004681/0.02514, allocations: 326.5 kB / 318.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.02535, allocations: 27.97 kB / 318.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007432/0.0261, allocations: 0.5507 MB / 319 MB, free: 2.969 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.022e-05/0.02619, allocations: 137.8 kB / 319.2 MB, free: 2.816 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.02623, allocations: 16.5 kB / 319.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02623, allocations: 0 / 319.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of Templates: time 0.00394/0.03017, allocations: 4.087 MB / 323.3 MB, free: 14.7 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.574152270331979]