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.00155/0.00155, allocations: 109.2 kB / 17.06 MB, free: 6.016 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.001988/0.001988, allocations: 192 kB / 18 MB, free: 5.102 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.703/1.703, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 43.94 kB / 351.3 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4055, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004652/0.4102, allocations: 2.714 MB / 403.4 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.4115, allocations: 0.6622 MB / 404.1 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.4117, allocations: 7.938 kB / 404.1 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.4118, allocations: 39.58 kB / 404.1 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.412, allocations: 83.27 kB / 404.2 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.4123, allocations: 95.78 kB / 404.3 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003879/0.4127, allocations: 358.6 kB / 404.7 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.413, allocations: 92.69 kB / 404.8 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.4132, allocations: 139.5 kB / 404.9 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.4134, allocations: 167.3 kB / 405.1 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.744e-05/0.4135, allocations: 28 kB / 405.1 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.426e-05/0.4136, allocations: 32 kB / 405.1 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.744e-05/0.4137, allocations: 67.77 kB / 405.2 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.4139, allocations: 147.3 kB / 405.3 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004168/0.4143, allocations: 342.5 kB / 405.7 MB, free: 3.934 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.4143, allocations: 0 / 405.7 MB, free: 3.934 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4143, allocations: 0 / 405.7 MB, free: 3.934 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.4143, allocations: 0 / 405.7 MB, free: 3.934 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.001534/0.4159, allocations: 0.6468 MB / 406.3 MB, free: 3.238 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.4159, allocations: 8.031 kB / 406.3 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.765e-05/0.416, allocations: 36.75 kB / 406.4 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.4165, allocations: 268.7 kB / 406.6 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.4165, allocations: 12.81 kB / 406.6 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/0.4166, allocations: 28.38 kB / 406.7 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.4173, allocations: 290.9 kB / 406.9 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4173, allocations: 0 / 406.9 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.4173, allocations: 16 kB / 407 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.4173, allocations: 7.938 kB / 407 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008053/0.4182, allocations: 273.5 kB / 407.2 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.42, allocations: 1.062 MB / 408.3 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.4219, allocations: 434.3 kB / 408.7 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004179/0.4224, allocations: 144.8 kB / 408.9 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.4224, allocations: 7.984 kB / 408.9 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.4225, allocations: 34.56 kB / 408.9 MB, free: 500 kB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.4225, allocations: 0 / 408.9 MB, free: 500 kB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.004818/0.4273, allocations: 1.026 MB / 409.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.4274, allocations: 51.41 kB / 410 MB, free: 15.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.4276, allocations: 216.2 kB / 410.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.4276, allocations: 29.7 kB / 410.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.4278, allocations: 160.3 kB / 410.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.254e-05/0.4278, allocations: 55.52 kB / 410.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.914e-05/0.4279, allocations: 37.69 kB / 410.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4281, allocations: 326.8 kB / 410.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.4284, allocations: 115.9 kB / 410.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.4288, allocations: 121.6 kB / 411 MB, free: 14.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006487/0.4295, allocations: 228 kB / 411.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4295, allocations: 4 kB / 411.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00276/0.4322, allocations: 0.6267 MB / 411.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.4323, allocations: 14.44 kB / 411.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.4323, allocations: 0 / 411.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007514/0.433, allocations: 224.6 kB / 412.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.4332, allocations: 31.92 kB / 412.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006936/0.4402, allocations: 2.747 MB / 414.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.4406, allocations: 39.92 kB / 414.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.4406, allocations: 7.984 kB / 414.9 MB, free: 10.22 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.0002326/0.4408, allocations: 134.3 kB / 415.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.4409, allocations: 15.91 kB / 415.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.308e-05/0.441, allocations: 21.53 kB / 415.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.441, allocations: 4 kB / 415.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.441, allocations: 3.984 kB / 415.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.441, allocations: 0 / 415.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.4414, allocations: 333.3 kB / 415.4 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.4414, allocations: 0 / 415.4 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.4416, allocations: 31.92 kB / 415.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006573/0.4422, allocations: 212.7 kB / 415.7 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.4423, allocations: 7.984 kB / 415.7 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006277/0.4485, allocations: 2.743 MB / 418.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4486, allocations: 0 / 418.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/0.4518, allocations: 0.8434 MB / 419.3 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.4519, allocations: 101 kB / 419.4 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.452, allocations: 0 / 419.4 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.4523, allocations: 31.97 kB / 419.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.766e-05/0.4524, allocations: 12.05 kB / 419.4 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.4524, allocations: 11.98 kB / 419.4 MB, free: 5.488 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000208/0.4526, allocations: 157.9 kB / 419.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4526, allocations: 0 / 419.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005337/0.4532, allocations: 75.89 kB / 419.6 MB, free: 5.262 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.0001991/0.4534, allocations: 111.9 kB / 419.8 MB, free: 5.148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001587/0.455, allocations: 454.2 kB / 420.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.455, allocations: 4 kB / 420.2 MB, free: 4.688 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.456, allocations: 334.5 kB / 420.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.4564, allocations: 32.58 kB / 420.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.4579, allocations: 0.5596 MB / 421.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.4583, allocations: 0.7437 MB / 421.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.569e-05/0.4584, allocations: 13.55 kB / 421.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.4584, allocations: 15.44 kB / 421.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4584, allocations: 0 / 421.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of Templates: time 0.009636/0.4681, allocations: 4.959 MB / 426.9 MB, free: 13.98 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/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) Reference file matches