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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 115.8 kB / 17.74 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 189.5 kB / 18.67 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 51.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2559, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003889/0.2598, allocations: 2.701 MB / 404.1 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.2609, allocations: 0.6661 MB / 404.8 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.261, allocations: 8 kB / 404.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.2612, allocations: 39.58 kB / 404.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.2613, allocations: 79.27 kB / 404.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.2616, allocations: 103.8 kB / 405 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.2619, allocations: 358.5 kB / 405.4 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.2621, allocations: 88.72 kB / 405.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.2623, allocations: 135.5 kB / 405.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.2625, allocations: 163.4 kB / 405.7 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.822e-05/0.2625, allocations: 31.94 kB / 405.8 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.299e-05/0.2626, allocations: 32 kB / 405.8 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.789e-05/0.2626, allocations: 67.75 kB / 405.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.2628, allocations: 147.3 kB / 406 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.2631, allocations: 344 kB / 406.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.2631, allocations: 8 kB / 406.4 MB, free: 3.934 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2631, allocations: 3.938 kB / 406.4 MB, free: 3.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.2631, allocations: 0 / 406.4 MB, free: 3.93 MB / 318.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.001444/0.2646, allocations: 0.6315 MB / 407 MB, free: 3.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2646, allocations: 8.031 kB / 407 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.228e-05/0.2647, allocations: 28.66 kB / 407 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.2651, allocations: 268.6 kB / 407.3 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.2651, allocations: 16.81 kB / 407.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.2651, allocations: 16.38 kB / 407.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006304/0.2658, allocations: 310.9 kB / 407.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2658, allocations: 0 / 407.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.2658, allocations: 12 kB / 407.6 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2658, allocations: 7.938 kB / 407.6 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007364/0.2666, allocations: 269.5 kB / 407.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.2681, allocations: 1.062 MB / 409 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.27, allocations: 442.3 kB / 409.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.2704, allocations: 144.8 kB / 409.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.2704, allocations: 3.984 kB / 409.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.2704, allocations: 38.56 kB / 409.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.2704, allocations: 0 / 409.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.004816/0.2752, allocations: 1.014 MB / 410.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.2753, allocations: 55.66 kB / 410.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.2756, allocations: 216.2 kB / 410.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.2756, allocations: 25.7 kB / 410.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2757, allocations: 160.1 kB / 411 MB, free: 14.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.2758, allocations: 55.28 kB / 411.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.2758, allocations: 29.7 kB / 411.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.276, allocations: 334.8 kB / 411.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.2763, allocations: 107.9 kB / 411.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.2767, allocations: 125.6 kB / 411.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006392/0.2773, allocations: 236.5 kB / 411.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2774, allocations: 4 kB / 411.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002785/0.2801, allocations: 0.6266 MB / 412.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.2802, allocations: 11.94 kB / 412.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.2802, allocations: 4 kB / 412.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006945/0.2809, allocations: 212.7 kB / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.2811, allocations: 35.97 kB / 412.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006756/0.2878, allocations: 2.746 MB / 415.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.2882, allocations: 47.78 kB / 415.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.2882, allocations: 4 kB / 415.6 MB, free: 10.24 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.0002042/0.2884, allocations: 134.3 kB / 415.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.2885, allocations: 19.81 kB / 415.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.822e-05/0.2885, allocations: 21.53 kB / 415.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2886, allocations: 8 kB / 415.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2886, allocations: 0 / 415.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2886, allocations: 3.984 kB / 415.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/0.289, allocations: 325.2 kB / 416.1 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.289, allocations: 4 kB / 416.1 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.2892, allocations: 27.97 kB / 416.1 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006261/0.2898, allocations: 224.6 kB / 416.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.2898, allocations: 7.984 kB / 416.4 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006268/0.2961, allocations: 2.731 MB / 419.1 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2961, allocations: 0 / 419.1 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003172/0.2993, allocations: 0.8318 MB / 419.9 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.096e-05/0.2994, allocations: 100.8 kB / 420 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.2995, allocations: 8 kB / 420 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.2998, allocations: 35.97 kB / 420.1 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.2998, allocations: 11.98 kB / 420.1 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.2999, allocations: 7.984 kB / 420.1 MB, free: 5.512 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.3, allocations: 153.9 kB / 420.2 MB, free: 5.363 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3, allocations: 0 / 420.2 MB, free: 5.363 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004795/0.3005, allocations: 79.84 kB / 420.3 MB, free: 5.285 MB / 334.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.0001231/0.3007, allocations: 99.25 kB / 420.4 MB, free: 5.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.3022, allocations: 462.3 kB / 420.9 MB, free: 4.715 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3022, allocations: 0 / 420.9 MB, free: 4.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.3032, allocations: 330.4 kB / 421.2 MB, free: 4.379 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.3036, allocations: 44.64 kB / 421.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.305, allocations: 0.5737 MB / 421.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.3053, allocations: 0.7437 MB / 422.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.3054, allocations: 15.44 kB / 422.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3054, allocations: 0 / 422.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of Templates: time 0.006004/0.3114, allocations: 4.083 MB / 426.6 MB, free: 14.87 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches