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.001482/0.001482, allocations: 107 kB / 17.74 MB, free: 5.359 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.001803/0.001803, allocations: 186.4 kB / 18.67 MB, free: 4.438 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.383/1.383, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 55.91 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2487, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003391/0.2521, allocations: 2.705 MB / 404.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009601/0.2531, allocations: 0.6661 MB / 404.8 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.2532, allocations: 4 kB / 404.8 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.2534, allocations: 39.58 kB / 404.8 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.2535, allocations: 87.27 kB / 404.9 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.2538, allocations: 99.72 kB / 405 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.2541, allocations: 362.5 kB / 405.4 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.2543, allocations: 88.7 kB / 405.5 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.2545, allocations: 135.5 kB / 405.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.2547, allocations: 163.4 kB / 405.8 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.87e-05/0.2548, allocations: 28 kB / 405.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.091e-05/0.2548, allocations: 32 kB / 405.8 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.023e-05/0.2549, allocations: 71.69 kB / 405.9 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.255, allocations: 151.3 kB / 406 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.2553, allocations: 344 kB / 406.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2553, allocations: 0 / 406.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2553, allocations: 0 / 406.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.2554, allocations: 4 kB / 406.4 MB, free: 3.91 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.001399/0.2568, allocations: 0.6315 MB / 407 MB, free: 3.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2568, allocations: 8.031 kB / 407 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.239e-05/0.2569, allocations: 28.66 kB / 407 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.2572, allocations: 264.6 kB / 407.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.2572, allocations: 16.81 kB / 407.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.2573, allocations: 20.38 kB / 407.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/0.2579, allocations: 302.9 kB / 407.6 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.258, allocations: 3.938 kB / 407.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.258, allocations: 12 kB / 407.6 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.258, allocations: 4 kB / 407.6 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000789/0.2588, allocations: 273.5 kB / 407.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.2604, allocations: 1.062 MB / 409 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.2624, allocations: 442.2 kB / 409.4 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.2628, allocations: 148.8 kB / 409.6 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.2628, allocations: 3.984 kB / 409.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.2628, allocations: 34.56 kB / 409.6 MB, free: 492 kB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.472e-06/0.2628, allocations: 0 / 409.6 MB, free: 492 kB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.00499/0.2678, allocations: 1.018 MB / 410.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.2679, allocations: 51.41 kB / 410.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.2681, allocations: 216.2 kB / 410.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.2681, allocations: 29.7 kB / 410.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.33e-05/0.2682, allocations: 160.1 kB / 411.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.2683, allocations: 51.28 kB / 411.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.143e-05/0.2683, allocations: 41.69 kB / 411.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.2685, allocations: 326.8 kB / 411.5 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.2688, allocations: 111.9 kB / 411.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.2692, allocations: 125.5 kB / 411.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000669/0.2699, allocations: 232 kB / 411.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2699, allocations: 7.938 kB / 411.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0029/0.2728, allocations: 0.6266 MB / 412.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2728, allocations: 8 kB / 412.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2728, allocations: 0 / 412.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007273/0.2735, allocations: 220.7 kB / 412.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.2737, allocations: 35.97 kB / 412.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006851/0.2806, allocations: 2.735 MB / 415.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.2809, allocations: 39.91 kB / 415.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.2809, allocations: 8 kB / 415.6 MB, free: 10.23 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.0001482/0.2811, allocations: 138.2 kB / 415.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.2811, allocations: 23.89 kB / 415.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.2812, allocations: 21.53 kB / 415.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2812, allocations: 3.984 kB / 415.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2812, allocations: 0 / 415.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.2813, allocations: 104.8 kB / 415.9 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.2813, allocations: 0 / 415.9 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.2816, allocations: 31.97 kB / 415.9 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.2817, allocations: 15.92 kB / 415.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002349/0.284, allocations: 0.5912 MB / 416.5 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001104/0.2852, allocations: 0.5473 MB / 417.1 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003208/0.2855, allocations: 104 kB / 417.2 MB, free: 8.598 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.2856, allocations: 161.8 kB / 417.3 MB, free: 8.441 MB / 334.1 MB Notification: Performance of Backend: time 8.61e-07/0.2856, allocations: 0 / 417.3 MB, free: 8.441 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.2872, allocations: 427.7 kB / 417.7 MB, free: 8.008 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009613/0.2881, allocations: 0.9339 MB / 418.7 MB, free: 7.031 MB / 334.1 MB Notification: Performance of Templates: time 0.008717/0.2969, allocations: 4.285 MB / 423 MB, free: 2.77 MB / 334.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