Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, 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.417/1.417, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008975/0.0008977, allocations: 104.3 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002556/0.0002556, allocations: 11.98 kB / 360.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2894, allocations: 51.42 MB / 412.1 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004352/0.2938, allocations: 5.011 MB / 417.1 MB, free: 20.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.2965, allocations: 1.324 MB / 418.4 MB, free: 19.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000859/0.2974, allocations: 20 kB / 418.4 MB, free: 19.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005218/0.2979, allocations: 127 kB / 418.5 MB, free: 19.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009683/0.2989, allocations: 238 kB / 418.8 MB, free: 19.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.2994, allocations: 187.8 kB / 418.9 MB, free: 18.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007193/0.3001, allocations: 1.024 MB / 420 MB, free: 17.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005078/0.3006, allocations: 444.6 kB / 420.4 MB, free: 17.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.3008, allocations: 342.7 kB / 420.7 MB, free: 17.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003448/0.3012, allocations: 406 kB / 421.1 MB, free: 16.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.652e-05/0.3013, allocations: 52 kB / 421.2 MB, free: 16.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.3014, allocations: 48 kB / 421.2 MB, free: 16.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.775e-05/0.3015, allocations: 163.2 kB / 421.4 MB, free: 16.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.3018, allocations: 479.3 kB / 421.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005936/0.3024, allocations: 1.025 MB / 422.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3024, allocations: 0 / 422.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3024, allocations: 0 / 422.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.3024, allocations: 0 / 422.9 MB, free: 14.95 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001391/0.3038, allocations: 1.076 MB / 424 MB, free: 13.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3039, allocations: 8.031 kB / 424 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.304, allocations: 111.7 kB / 424.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.3044, allocations: 447.2 kB / 424.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.3045, allocations: 78.36 kB / 424.6 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.685e-05/0.3046, allocations: 96.28 kB / 424.7 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.3057, allocations: 0.8677 MB / 425.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.3057, allocations: 0 / 425.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.329e-05/0.3058, allocations: 36 kB / 425.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.3058, allocations: 27.94 kB / 425.6 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007905/0.3066, allocations: 0.5699 MB / 426.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003208/0.3098, allocations: 2.976 MB / 429.2 MB, free: 8.438 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.3101, allocations: 286.5 kB / 429.4 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.3104, allocations: 276.3 kB / 429.7 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.3105, allocations: 11.78 kB / 429.7 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.3105, allocations: 38.5 kB / 429.8 MB, free: 7.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.633e-06/0.3105, allocations: 0 / 429.8 MB, free: 7.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.001252/0.3118, allocations: 0.6543 MB / 430.4 MB, free: 7.137 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.3118, allocations: 59.41 kB / 430.5 MB, free: 7.066 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.3122, allocations: 0.518 MB / 431 MB, free: 6.539 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.3123, allocations: 29.7 kB / 431 MB, free: 6.504 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.3124, allocations: 493.5 kB / 431.5 MB, free: 6.012 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.094e-05/0.3125, allocations: 157.8 kB / 431.7 MB, free: 5.855 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.3125, allocations: 16 kB / 431.7 MB, free: 5.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.17e-05/0.3126, allocations: 362.8 kB / 432 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.3129, allocations: 173.9 kB / 432.2 MB, free: 5.305 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.3132, allocations: 449.6 kB / 432.6 MB, free: 4.738 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005709/0.3138, allocations: 0.6442 MB / 433.3 MB, free: 3.969 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3138, allocations: 11.88 kB / 433.3 MB, free: 3.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009273/0.3147, allocations: 0.7571 MB / 434 MB, free: 3.191 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3148, allocations: 15.98 kB / 434.1 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3148, allocations: 8 kB / 434.1 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002641/0.315, allocations: 84.91 kB / 434.2 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005834/0.3156, allocations: 199.7 kB / 434.4 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.3169, allocations: 1.799 MB / 436.2 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.3174, allocations: 95.11 kB / 436.2 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.3174, allocations: 36 kB / 436.3 MB, free: 0.8242 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002303/0.3177, allocations: 217.5 kB / 436.5 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-05/0.3177, allocations: 55.34 kB / 436.5 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.629e-05/0.3178, allocations: 69.5 kB / 436.6 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3178, allocations: 4 kB / 436.6 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3178, allocations: 0 / 436.6 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3179, allocations: 0 / 436.6 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006371/0.3185, allocations: 0.6492 MB / 437.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3185, allocations: 288 / 437.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004267/0.3189, allocations: 103.9 kB / 437.4 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002148/0.3192, allocations: 76.73 kB / 437.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.3192, allocations: 7.984 kB / 437.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/0.3209, allocations: 1.788 MB / 439.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3209, allocations: 0 / 439.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009351/0.3218, allocations: 0.6775 MB / 439.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.322, allocations: 128.4 kB / 440 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.09e-05/0.322, allocations: 8 kB / 440 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.3224, allocations: 60.03 kB / 440.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/0.3225, allocations: 31.95 kB / 440.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/0.3225, allocations: 12 kB / 440.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003847/0.3229, allocations: 338.9 kB / 440.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3229, allocations: 4 kB / 440.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000767/0.3237, allocations: 247.2 kB / 440.7 MB, free: 12.13 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.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 (33): * Single equations (assignments): 32 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001775/0.3239, allocations: 119.2 kB / 440.8 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009854/0.3249, allocations: 0.5894 MB / 441.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3249, allocations: 4 kB / 441.4 MB, free: 11.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004463/0.3254, allocations: 326.5 kB / 441.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006052/0.326, allocations: 118.5 kB / 441.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.3284, allocations: 1.841 MB / 443.7 MB, free: 9.086 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.3289, allocations: 0.9378 MB / 444.6 MB, free: 8.121 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002994/0.3292, allocations: 65.22 kB / 444.7 MB, free: 8.059 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.085e-05/0.3293, allocations: 39.44 kB / 444.8 MB, free: 8.02 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3293, allocations: 0 / 444.8 MB, free: 8.02 MB / 314.7 MB Notification: Performance of Templates: time 0.0122/0.3415, allocations: 6.766 MB / 451.5 MB, free: 1.254 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches