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.001158/0.001158, allocations: 108.4 kB / 18.41 MB, free: 4.672 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.001121/0.001121, allocations: 190.1 kB / 19.35 MB, free: 3.742 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.313/1.313, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001226/0.001226, allocations: 48.36 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0711/0.07234, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.00341/0.07577, allocations: 2.663 MB / 378.5 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.07695, allocations: 0.7057 MB / 379.2 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.0771, allocations: 4 kB / 379.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.07727, allocations: 47.56 kB / 379.2 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.07745, allocations: 83.28 kB / 379.3 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.07775, allocations: 99.78 kB / 379.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.07811, allocations: 358.5 kB / 379.8 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.0783, allocations: 100.6 kB / 379.9 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.07852, allocations: 139.5 kB / 380 MB, free: 372 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.07875, allocations: 167.3 kB / 380.2 MB, free: 204 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.3e-05/0.07881, allocations: 28 kB / 380.2 MB, free: 176 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.953e-05/0.07887, allocations: 32 kB / 380.2 MB, free: 144 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.07894, allocations: 67.81 kB / 380.3 MB, free: 76 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1493/0.2283, allocations: 142 kB / 380.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004073/0.2287, allocations: 344.2 kB / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2287, allocations: 1.312 kB / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2287, allocations: 1.172 kB / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.2288, allocations: 0.8438 kB / 380.8 MB, free: 10.09 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.001376/0.2301, allocations: 0.6425 MB / 381.4 MB, free: 9.648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.2302, allocations: 13.44 kB / 381.4 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.2302, allocations: 31.38 kB / 381.5 MB, free: 9.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.2306, allocations: 260.6 kB / 381.7 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.2306, allocations: 15.41 kB / 381.7 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.2306, allocations: 19.62 kB / 381.8 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006362/0.2313, allocations: 298.1 kB / 382 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2313, allocations: 6.062 kB / 382.1 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.2313, allocations: 6.25 kB / 382.1 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2313, allocations: 5.5 kB / 382.1 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00077/0.2321, allocations: 271.5 kB / 382.3 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.2337, allocations: 1.061 MB / 383.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/0.2358, allocations: 439.5 kB / 383.8 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003932/0.2362, allocations: 148.9 kB / 384 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.2363, allocations: 2.375 kB / 384 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.2363, allocations: 35.12 kB / 384 MB, free: 8.688 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.2363, allocations: 0 / 384 MB, free: 8.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.005213/0.2415, allocations: 1.02 MB / 385 MB, free: 8.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.417e-05/0.2415, allocations: 54.03 kB / 385.1 MB, free: 8.457 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.2417, allocations: 218.6 kB / 385.3 MB, free: 8.348 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.2418, allocations: 31.39 kB / 385.3 MB, free: 8.316 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.2418, allocations: 159.7 kB / 385.5 MB, free: 8.203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.2419, allocations: 48.61 kB / 385.5 MB, free: 8.172 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.927e-05/0.242, allocations: 37.94 kB / 385.6 MB, free: 8.156 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.446e-05/0.242, allocations: 330.8 kB / 385.9 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.2424, allocations: 105.9 kB / 386 MB, free: 7.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.2428, allocations: 125.9 kB / 386.1 MB, free: 7.824 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000673/0.2435, allocations: 239.2 kB / 386.3 MB, free: 7.797 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2435, allocations: 0 / 386.3 MB, free: 7.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00304/0.2465, allocations: 0.633 MB / 387 MB, free: 7.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2465, allocations: 7.438 kB / 387 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2466, allocations: 0 / 387 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007341/0.2473, allocations: 219.2 kB / 387.2 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.2475, allocations: 36.22 kB / 387.2 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006738/0.2542, allocations: 2.749 MB / 390 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.2546, allocations: 43.92 kB / 390 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.2546, allocations: 6.328 kB / 390 MB, free: 5.98 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.0001199/0.2547, allocations: 143.4 kB / 390.2 MB, free: 5.844 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.2548, allocations: 21.38 kB / 390.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.2548, allocations: 25.8 kB / 390.2 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2548, allocations: 0.75 kB / 390.2 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2548, allocations: 0 / 390.2 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-05/0.2549, allocations: 100.5 kB / 390.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.2549, allocations: 9.219 kB / 390.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.2553, allocations: 30.47 kB / 390.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.2553, allocations: 13.05 kB / 390.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002555/0.2579, allocations: 0.6002 MB / 391 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001082/0.259, allocations: 0.5421 MB / 391.5 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003277/0.2593, allocations: 105.5 kB / 391.6 MB, free: 5.168 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.2594, allocations: 164.8 kB / 391.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of Backend: time 4.91e-07/0.2594, allocations: 0 / 391.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.261, allocations: 430.1 kB / 392.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007749/0.2618, allocations: 0.9494 MB / 393.1 MB, free: 4.055 MB / 318.1 MB Notification: Performance of Templates: time 0.007775/0.2696, allocations: 4.29 MB / 397.4 MB, free: 3.316 MB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins1/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