Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 176 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008078/0.0008078, allocations: 95.69 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002848, allocations: 8 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3058, allocations: 47.57 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.002576/0.3085, allocations: 2.267 MB / 378.9 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3096, allocations: 0.6836 MB / 379.5 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.3098, allocations: 3.594 kB / 379.5 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.3099, allocations: 27.95 kB / 379.6 MB, free: 43.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.31, allocations: 68.11 kB / 379.6 MB, free: 43.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.3103, allocations: 94.64 kB / 379.7 MB, free: 43.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.3107, allocations: 332.6 kB / 380.1 MB, free: 42.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.3109, allocations: 77.36 kB / 380.1 MB, free: 42.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.3111, allocations: 126.3 kB / 380.3 MB, free: 42.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.3112, allocations: 145.6 kB / 380.4 MB, free: 42.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.3113, allocations: 15.56 kB / 380.4 MB, free: 42.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.649e-05/0.3114, allocations: 15.75 kB / 380.4 MB, free: 42.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.3114, allocations: 61.12 kB / 380.5 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.3116, allocations: 156.3 kB / 380.6 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.3118, allocations: 314.1 kB / 380.9 MB, free: 42.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3118, allocations: 0 / 380.9 MB, free: 42.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3118, allocations: 1.344 kB / 381 MB, free: 42.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3119, allocations: 0 / 381 MB, free: 42.29 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.001331/0.3132, allocations: 0.6131 MB / 381.6 MB, free: 41.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.3133, allocations: 10.03 kB / 381.6 MB, free: 41.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.973e-05/0.3133, allocations: 26.5 kB / 381.6 MB, free: 41.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.3136, allocations: 252.2 kB / 381.8 MB, free: 41.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.3136, allocations: 21.03 kB / 381.9 MB, free: 41.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/0.3137, allocations: 21.34 kB / 381.9 MB, free: 41.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006739/0.3144, allocations: 308.4 kB / 382.2 MB, free: 41.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3144, allocations: 1.031 kB / 382.2 MB, free: 41.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.3144, allocations: 14.03 kB / 382.2 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.3145, allocations: 5.125 kB / 382.2 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008023/0.3153, allocations: 287.7 kB / 382.5 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.3168, allocations: 1.077 MB / 383.6 MB, free: 40.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.3188, allocations: 489.3 kB / 384 MB, free: 40.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004296/0.3192, allocations: 158.2 kB / 384.2 MB, free: 39.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.3193, allocations: 1.406 kB / 384.2 MB, free: 39.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.3193, allocations: 36.75 kB / 384.2 MB, free: 39.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 3.146e-06/0.3193, allocations: 0 / 384.2 MB, free: 39.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.004956/0.3243, allocations: 1.13 MB / 385.4 MB, free: 39.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.3243, allocations: 52.88 kB / 385.4 MB, free: 39.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.3246, allocations: 218.9 kB / 385.6 MB, free: 39.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.3246, allocations: 29.7 kB / 385.7 MB, free: 39.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.806e-05/0.3247, allocations: 156.2 kB / 385.8 MB, free: 38.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.3247, allocations: 51.2 kB / 385.9 MB, free: 38.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.3248, allocations: 0 / 385.9 MB, free: 38.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.19e-05/0.3248, allocations: 334.8 kB / 386.2 MB, free: 38.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.3251, allocations: 115.9 kB / 386.3 MB, free: 38.49 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.3254, allocations: 136.5 kB / 386.4 MB, free: 38.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/0.326, allocations: 241.5 kB / 386.7 MB, free: 38.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.326, allocations: 4 kB / 386.7 MB, free: 38.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002602/0.3286, allocations: 0.6933 MB / 387.4 MB, free: 37.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3287, allocations: 8.156 kB / 387.4 MB, free: 37.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3287, allocations: 0 / 387.4 MB, free: 37.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007084/0.3294, allocations: 236.6 kB / 387.6 MB, free: 37.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.3296, allocations: 39.91 kB / 387.6 MB, free: 37.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006/0.3356, allocations: 2.599 MB / 390.2 MB, free: 34.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.336, allocations: 43.92 kB / 390.3 MB, free: 34.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.336, allocations: 7.984 kB / 390.3 MB, free: 34.34 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.0001842/0.3362, allocations: 129.8 kB / 390.4 MB, free: 34.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.3362, allocations: 23.66 kB / 390.4 MB, free: 34.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.3363, allocations: 25.52 kB / 390.5 MB, free: 34.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3363, allocations: 8 kB / 390.5 MB, free: 34.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3363, allocations: 0 / 390.5 MB, free: 34.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3363, allocations: 96 / 390.5 MB, free: 34.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.3367, allocations: 325.3 kB / 390.8 MB, free: 33.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3367, allocations: 3.984 kB / 390.8 MB, free: 33.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.3368, allocations: 39.86 kB / 390.8 MB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000606/0.3374, allocations: 236.6 kB / 391.1 MB, free: 33.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.3375, allocations: 0 / 391.1 MB, free: 33.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005786/0.3433, allocations: 2.599 MB / 393.7 MB, free: 30.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3433, allocations: 0 / 393.7 MB, free: 30.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/0.3463, allocations: 0.9141 MB / 394.6 MB, free: 29.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.782e-05/0.3464, allocations: 104.9 kB / 394.7 MB, free: 29.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.3465, allocations: 3.938 kB / 394.7 MB, free: 29.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.3468, allocations: 43.97 kB / 394.7 MB, free: 29.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.3468, allocations: 11.98 kB / 394.7 MB, free: 29.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.3469, allocations: 4 kB / 394.7 MB, free: 29.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.347, allocations: 161.6 kB / 394.9 MB, free: 29.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.347, allocations: 0 / 394.9 MB, free: 29.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004214/0.3474, allocations: 79.84 kB / 395 MB, free: 29.41 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.000148/0.3476, allocations: 107.2 kB / 395.1 MB, free: 29.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.3492, allocations: 486.2 kB / 395.6 MB, free: 28.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3492, allocations: 0 / 395.6 MB, free: 28.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009761/0.3502, allocations: 350.5 kB / 395.9 MB, free: 28.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.3505, allocations: 37.11 kB / 395.9 MB, free: 28.42 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.3517, allocations: 0.6958 MB / 396.6 MB, free: 27.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.3519, allocations: 0.7479 MB / 397.4 MB, free: 26.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.164e-05/0.352, allocations: 5.562 kB / 397.4 MB, free: 26.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.352, allocations: 23.42 kB / 397.4 MB, free: 26.91 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.352, allocations: 0 / 397.4 MB, free: 26.91 MB / 298.7 MB Notification: Performance of Templates: time 0.007062/0.3591, allocations: 4.592 MB / 402 MB, free: 22.31 MB / 298.7 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches