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.001786/0.001786, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001567/0.001567, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 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 1.463/1.463, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.804e-06/1.804e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.837e-05, allocations: 2.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004268/0.004297, allocations: 2.553 MB / 274.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.005799, allocations: 0.6933 MB / 275.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.005948, allocations: 7.938 kB / 275.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.00611, allocations: 39.62 kB / 275.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.006284, allocations: 91.14 kB / 275.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.006643, allocations: 107.7 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000649/0.007292, allocations: 374.3 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.007468, allocations: 64.88 kB / 276.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003602/0.007828, allocations: 211.5 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.008036, allocations: 123.6 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.928e-05/0.008095, allocations: 32 kB / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.608e-05/0.008181, allocations: 36 kB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.241e-05/0.008253, allocations: 71.78 kB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.00841, allocations: 107.7 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004661/0.008876, allocations: 362.9 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.008879, allocations: 0 / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.00888, allocations: 0 / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.008885, allocations: 0 / 277.2 MB, free: 12.95 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.001613/0.0105, allocations: 0.5793 MB / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.01054, allocations: 12.03 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/0.01077, allocations: 56.73 kB / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.01119, allocations: 206.2 kB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.01122, allocations: 16.88 kB / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.974e-05/0.01128, allocations: 24.38 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008148/0.01209, allocations: 347.5 kB / 278.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.01211, allocations: 192 / 278.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.01214, allocations: 8.375 kB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.01215, allocations: 11.94 kB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008534/0.01301, allocations: 265.8 kB / 278.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.01485, allocations: 0.9272 MB / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.01696, allocations: 430.3 kB / 280 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004301/0.01739, allocations: 132.8 kB / 280.2 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.01741, allocations: 4.25 kB / 280.2 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.01744, allocations: 30.56 kB / 280.2 MB, free: 9.758 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 3.747e-06/0.01745, allocations: 4 kB / 280.2 MB, free: 9.754 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.00549/0.02294, allocations: 0.9581 MB / 281.1 MB, free: 8.789 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.02299, allocations: 51.41 kB / 281.2 MB, free: 8.727 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.02326, allocations: 207.2 kB / 281.4 MB, free: 8.516 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.0233, allocations: 29.7 kB / 281.4 MB, free: 8.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.02344, allocations: 164.3 kB / 281.6 MB, free: 8.316 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.404e-05/0.0235, allocations: 55.53 kB / 281.6 MB, free: 8.262 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.353e-05/0.0236, allocations: 37.69 kB / 281.7 MB, free: 8.219 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.02378, allocations: 326.8 kB / 282 MB, free: 7.891 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003855/0.02417, allocations: 111.9 kB / 282.1 MB, free: 7.781 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.02456, allocations: 121.6 kB / 282.2 MB, free: 7.656 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007363/0.0253, allocations: 235 kB / 282.5 MB, free: 7.422 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.0253, allocations: 0 / 282.5 MB, free: 7.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003441/0.02874, allocations: 0.6295 MB / 283.1 MB, free: 6.785 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.02877, allocations: 4 kB / 283.1 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.02877, allocations: 4 kB / 283.1 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.03008, allocations: 284.5 kB / 283.4 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.03027, allocations: 27.98 kB / 283.4 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007574/0.03784, allocations: 2.597 MB / 286 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.03817, allocations: 39.86 kB / 286 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.03819, allocations: 7.984 kB / 286 MB, free: 3.719 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 0.0001841/0.03838, allocations: 129.8 kB / 286.2 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.099e-05/0.03845, allocations: 27.86 kB / 286.2 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.05e-05/0.0385, allocations: 21.41 kB / 286.2 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.03851, allocations: 12.05 kB / 286.2 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.03851, allocations: 3.938 kB / 286.2 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.03851, allocations: 0 / 286.2 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.03887, allocations: 225.2 kB / 286.5 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.03887, allocations: 0 / 286.5 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.03905, allocations: 31.98 kB / 286.5 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001199/0.04025, allocations: 272.6 kB / 286.8 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.04028, allocations: 8 kB / 286.8 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00724/0.04752, allocations: 2.589 MB / 289.4 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.04752, allocations: 0 / 289.4 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1056/0.1532, allocations: 0.8379 MB / 290.2 MB, free: 28.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.1532, allocations: 23.36 kB / 290.2 MB, free: 28.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.1533, allocations: 4.344 kB / 290.2 MB, free: 28.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.1536, allocations: 38.45 kB / 290.3 MB, free: 28.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.1536, allocations: 10.89 kB / 290.3 MB, free: 28.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.1536, allocations: 6.516 kB / 290.3 MB, free: 28.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001243/0.1538, allocations: 154.8 kB / 290.4 MB, free: 28.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1538, allocations: 0 / 290.4 MB, free: 28.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004844/0.1542, allocations: 81.17 kB / 290.5 MB, free: 28.38 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.0001102/0.1544, allocations: 103.2 kB / 290.6 MB, free: 28.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.156, allocations: 440.9 kB / 291 MB, free: 28.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.156, allocations: 1.031 kB / 291 MB, free: 28.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.1571, allocations: 328.5 kB / 291.4 MB, free: 28.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.1574, allocations: 34.62 kB / 291.4 MB, free: 28.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1586, allocations: 0.5175 MB / 291.9 MB, free: 27.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.1587, allocations: 136 kB / 292 MB, free: 27.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.645e-05/0.1588, allocations: 14.05 kB / 292.1 MB, free: 27.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.1588, allocations: 16.14 kB / 292.1 MB, free: 27.76 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1589, allocations: 3.969 kB / 292.1 MB, free: 27.76 MB / 266.7 MB Notification: Performance of Templates: time 0.008732/0.1676, allocations: 4.689 MB / 296.8 MB, free: 26.98 MB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.536100877914578]