Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001522/0.001522, allocations: 200.8 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009708/0.0009711, allocations: 96.94 kB / 299.9 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002734, allocations: 8 kB / 360.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3217, allocations: 51.42 MB / 412 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.002611/0.3244, allocations: 2.306 MB / 414.4 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.3256, allocations: 0.9002 MB / 415.3 MB, free: 22.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.3257, allocations: 4 kB / 415.3 MB, free: 22.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.3258, allocations: 31.7 kB / 415.3 MB, free: 22.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.326, allocations: 68.72 kB / 415.4 MB, free: 22.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.3263, allocations: 87.89 kB / 415.4 MB, free: 22.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.3266, allocations: 342.6 kB / 415.8 MB, free: 22.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.3268, allocations: 80.88 kB / 415.9 MB, free: 22.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.327, allocations: 123.5 kB / 416 MB, free: 21.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.3272, allocations: 143.3 kB / 416.1 MB, free: 21.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.3272, allocations: 16 kB / 416.1 MB, free: 21.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.3273, allocations: 28 kB / 416.2 MB, free: 21.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.087e-05/0.3274, allocations: 51.75 kB / 416.2 MB, free: 21.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.3275, allocations: 157 kB / 416.4 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.3278, allocations: 320.3 kB / 416.7 MB, free: 21.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/0.3279, allocations: 0 / 416.7 MB, free: 21.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3279, allocations: 0 / 416.7 MB, free: 21.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.3279, allocations: 0 / 416.7 MB, free: 21.2 MB / 298.7 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.001315/0.3292, allocations: 0.616 MB / 417.3 MB, free: 20.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.3293, allocations: 11.97 kB / 417.3 MB, free: 20.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.3294, allocations: 36.66 kB / 417.3 MB, free: 20.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.3297, allocations: 264.6 kB / 417.6 MB, free: 20.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.3297, allocations: 16.81 kB / 417.6 MB, free: 20.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.3298, allocations: 16.38 kB / 417.6 MB, free: 20.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006117/0.3304, allocations: 314.9 kB / 417.9 MB, free: 19.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3304, allocations: 4 kB / 417.9 MB, free: 19.83 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.3305, allocations: 8 kB / 418 MB, free: 19.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.3305, allocations: 4 kB / 418 MB, free: 19.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007218/0.3312, allocations: 289.5 kB / 418.2 MB, free: 19.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.3327, allocations: 1.069 MB / 419.3 MB, free: 18.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.3346, allocations: 482.2 kB / 419.8 MB, free: 17.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/0.335, allocations: 160.8 kB / 419.9 MB, free: 17.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.335, allocations: 3.984 kB / 419.9 MB, free: 17.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.335, allocations: 38.56 kB / 420 MB, free: 17.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.974e-06/0.335, allocations: 0 / 420 MB, free: 17.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.004739/0.3398, allocations: 1.131 MB / 421.1 MB, free: 16.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.3399, allocations: 55.41 kB / 421.2 MB, free: 16.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.34, allocations: 212.2 kB / 421.4 MB, free: 16.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.3401, allocations: 29.7 kB / 421.4 MB, free: 16.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.3402, allocations: 168 kB / 421.6 MB, free: 16.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.3402, allocations: 51.28 kB / 421.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.3402, allocations: 0 / 421.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.3403, allocations: 334.8 kB / 421.9 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.3406, allocations: 111.9 kB / 422 MB, free: 15.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/0.3409, allocations: 134.9 kB / 422.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005964/0.3415, allocations: 245.8 kB / 422.4 MB, free: 15.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3416, allocations: 4 kB / 422.4 MB, free: 15.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002731/0.3443, allocations: 0.6968 MB / 423.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3443, allocations: 8 kB / 423.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3443, allocations: 0 / 423.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007231/0.3451, allocations: 232.7 kB / 423.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.3453, allocations: 31.98 kB / 423.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005971/0.3512, allocations: 2.6 MB / 426 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.3517, allocations: 39.92 kB / 426 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.3517, allocations: 11.98 kB / 426 MB, free: 11.4 MB / 298.7 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.0001477/0.3519, allocations: 133.8 kB / 426.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.3519, allocations: 23.66 kB / 426.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.352, allocations: 21.52 kB / 426.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.352, allocations: 8 kB / 426.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.352, allocations: 0 / 426.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.352, allocations: 0 / 426.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.3523, allocations: 325.4 kB / 426.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3523, allocations: 0 / 426.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.3525, allocations: 35.92 kB / 426.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006152/0.3531, allocations: 232.7 kB / 426.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.3531, allocations: 3.984 kB / 426.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005989/0.3591, allocations: 2.603 MB / 429.4 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3592, allocations: 0 / 429.4 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003174/0.3623, allocations: 0.9175 MB / 430.3 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/0.3624, allocations: 96.8 kB / 430.4 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.3625, allocations: 12.02 kB / 430.4 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/0.3628, allocations: 39.98 kB / 430.5 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.3629, allocations: 15.97 kB / 430.5 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.3629, allocations: 7.984 kB / 430.5 MB, free: 6.707 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.363, allocations: 161.6 kB / 430.7 MB, free: 6.551 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.363, allocations: 0 / 430.7 MB, free: 6.551 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004588/0.3635, allocations: 79.84 kB / 430.7 MB, free: 6.473 MB / 298.7 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.0001324/0.3636, allocations: 103.2 kB / 430.8 MB, free: 6.363 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.3651, allocations: 486.3 kB / 431.3 MB, free: 5.875 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3651, allocations: 0 / 431.3 MB, free: 5.875 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.3661, allocations: 342.6 kB / 431.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.3665, allocations: 36.66 kB / 431.7 MB, free: 5.492 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.3678, allocations: 0.6907 MB / 432.4 MB, free: 4.777 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.3681, allocations: 0.744 MB / 433.1 MB, free: 4.008 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.212e-05/0.3681, allocations: 13.55 kB / 433.1 MB, free: 3.992 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.3682, allocations: 19.44 kB / 433.1 MB, free: 3.973 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3682, allocations: 0 / 433.1 MB, free: 3.973 MB / 298.7 MB Notification: Performance of Templates: time 0.007394/0.3756, allocations: 4.603 MB / 437.7 MB, free: 15.38 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches