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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_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.001775/0.001776, allocations: 108.9 kB / 17.73 MB, free: 5.23 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.001813/0.001813, allocations: 188.1 kB / 18.66 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 47.94 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08843/0.08954, allocations: 46.61 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003432/0.09301, allocations: 2.668 MB / 377.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.09409, allocations: 0.7057 MB / 378.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.0942, allocations: 4 kB / 378.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.09435, allocations: 43.58 kB / 378.6 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.09449, allocations: 83.27 kB / 378.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.09476, allocations: 95.8 kB / 378.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003103/0.09507, allocations: 362.5 kB / 379.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.09527, allocations: 104.5 kB / 379.2 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.09546, allocations: 139.5 kB / 379.3 MB, free: 384 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.09564, allocations: 159.4 kB / 379.5 MB, free: 224 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.806e-05/0.0957, allocations: 28 kB / 379.5 MB, free: 196 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.285e-05/0.09575, allocations: 35.94 kB / 379.5 MB, free: 160 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.552e-05/0.09582, allocations: 75.73 kB / 379.6 MB, free: 84 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1672/0.263, allocations: 137.9 kB / 379.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.2635, allocations: 344.9 kB / 380.1 MB, free: 10.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2635, allocations: 1.594 kB / 380.1 MB, free: 10.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2635, allocations: 3.438 kB / 380.1 MB, free: 10.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.2635, allocations: 1.406 kB / 380.1 MB, free: 10.08 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.001347/0.2648, allocations: 0.6333 MB / 380.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.2649, allocations: 9.719 kB / 380.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.089e-05/0.265, allocations: 31.03 kB / 380.8 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.2652, allocations: 261.8 kB / 381 MB, free: 9.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.2653, allocations: 14.19 kB / 381 MB, free: 9.414 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.2653, allocations: 20.34 kB / 381.1 MB, free: 9.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/0.266, allocations: 299.6 kB / 381.4 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.266, allocations: 4.781 kB / 381.4 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.266, allocations: 9.469 kB / 381.4 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.266, allocations: 5.094 kB / 381.4 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007453/0.2668, allocations: 268.8 kB / 381.6 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.2684, allocations: 1.059 MB / 382.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.2704, allocations: 441.1 kB / 383.1 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003839/0.2708, allocations: 149.5 kB / 383.3 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.2708, allocations: 1.531 kB / 383.3 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.2709, allocations: 36.34 kB / 383.3 MB, free: 8.691 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.2709, allocations: 0 / 383.3 MB, free: 8.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.004952/0.2758, allocations: 1.027 MB / 384.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.2759, allocations: 57.41 kB / 384.4 MB, free: 8.449 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.2761, allocations: 214.2 kB / 384.6 MB, free: 8.344 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.2761, allocations: 29.83 kB / 384.6 MB, free: 8.312 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/0.2762, allocations: 157.2 kB / 384.8 MB, free: 8.203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.2762, allocations: 52.41 kB / 384.8 MB, free: 8.172 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.272e-05/0.2763, allocations: 34.19 kB / 384.9 MB, free: 8.156 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.749e-05/0.2763, allocations: 330.3 kB / 385.2 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.2767, allocations: 109.1 kB / 385.3 MB, free: 7.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.277, allocations: 120.9 kB / 385.4 MB, free: 7.824 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006489/0.2777, allocations: 235.7 kB / 385.6 MB, free: 7.797 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2777, allocations: 0 / 385.6 MB, free: 7.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002836/0.2805, allocations: 0.6319 MB / 386.3 MB, free: 7.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2806, allocations: 8.969 kB / 386.3 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2806, allocations: 3.719 kB / 386.3 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007134/0.2813, allocations: 219.2 kB / 386.5 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.2815, allocations: 32.52 kB / 386.5 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00637/0.2878, allocations: 2.746 MB / 389.3 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.2882, allocations: 36.27 kB / 389.3 MB, free: 6.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.2882, allocations: 14.84 kB / 389.3 MB, free: 5.996 MB / 318.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.0001222/0.2883, allocations: 143.1 kB / 389.5 MB, free: 5.859 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.2884, allocations: 18.66 kB / 389.5 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.2884, allocations: 25.25 kB / 389.5 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2884, allocations: 1.219 kB / 389.5 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2885, allocations: 7.594 kB / 389.5 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2885, allocations: 0.6094 kB / 389.5 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.2888, allocations: 322.8 kB / 389.8 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2889, allocations: 0 / 389.8 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.289, allocations: 35.12 kB / 389.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006697/0.2897, allocations: 212.5 kB / 390.1 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.2897, allocations: 7.875 kB / 390.1 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006227/0.296, allocations: 2.743 MB / 392.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.296, allocations: 2.625 kB / 392.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003237/0.2992, allocations: 0.8388 MB / 393.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.2993, allocations: 94.83 kB / 393.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.2994, allocations: 5.891 kB / 393.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.2997, allocations: 38.59 kB / 393.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.2998, allocations: 11.27 kB / 393.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.2998, allocations: 9.141 kB / 393.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.3, allocations: 157.3 kB / 394 MB, free: 3.234 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3, allocations: 0 / 394 MB, free: 3.234 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004916/0.3005, allocations: 82.34 kB / 394.1 MB, free: 3.219 MB / 318.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.000159/0.3007, allocations: 98.61 kB / 394.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001598/0.3023, allocations: 445 kB / 394.6 MB, free: 2.957 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.3023, allocations: 4.062 kB / 394.6 MB, free: 2.953 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.3034, allocations: 332.2 kB / 394.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.3037, allocations: 31.36 kB / 395 MB, free: 2.793 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.3051, allocations: 0.5584 MB / 395.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.3053, allocations: 0.7438 MB / 396.3 MB, free: 1.777 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.969e-05/0.3054, allocations: 13.02 kB / 396.3 MB, free: 1.773 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.3055, allocations: 20.66 kB / 396.3 MB, free: 1.762 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3055, allocations: 0 / 396.3 MB, free: 1.762 MB / 318.1 MB Notification: Performance of Templates: time 0.008874/0.3143, allocations: 4.968 MB / 401.3 MB, free: 156 kB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (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) 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) Reference file matches