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.CauerLowPassOPV.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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009505/0.0009506, allocations: 180.8 kB / 17.36 MB, free: 4.324 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.302/1.302, allocations: 205.6 MB / 223.7 MB, free: 8.961 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.001013/0.001013, allocations: 102.3 kB / 272.1 MB, free: 8.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002339/0.0002341, allocations: 8 kB / 329 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.221, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004304/0.2253, allocations: 4.952 MB / 381.5 MB, free: 41.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.2278, allocations: 1.167 MB / 382.7 MB, free: 40.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008787/0.2287, allocations: 24.88 kB / 382.7 MB, free: 40.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.2291, allocations: 126.7 kB / 382.9 MB, free: 40.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007136/0.2298, allocations: 240 kB / 383.1 MB, free: 40.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.2302, allocations: 184.9 kB / 383.3 MB, free: 40.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008975/0.2311, allocations: 1.018 MB / 384.3 MB, free: 39.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005878/0.2317, allocations: 442 kB / 384.7 MB, free: 39.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003884/0.2321, allocations: 341.3 kB / 385.1 MB, free: 39.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004161/0.2325, allocations: 409.4 kB / 385.5 MB, free: 38.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.2327, allocations: 54.41 kB / 385.5 MB, free: 38.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.2328, allocations: 50.81 kB / 385.6 MB, free: 38.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.2329, allocations: 153.6 kB / 385.7 MB, free: 38.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004075/0.2333, allocations: 476.7 kB / 386.2 MB, free: 38.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007205/0.234, allocations: 1.031 MB / 387.2 MB, free: 37.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2341, allocations: 3.938 kB / 387.2 MB, free: 37.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2341, allocations: 0 / 387.2 MB, free: 37.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.2341, allocations: 1.188 kB / 387.2 MB, free: 37.64 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.001536/0.2356, allocations: 1.085 MB / 388.3 MB, free: 36.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2357, allocations: 8.031 kB / 388.3 MB, free: 36.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.2358, allocations: 103.8 kB / 388.4 MB, free: 36.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.2363, allocations: 451.1 kB / 388.9 MB, free: 36.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.2363, allocations: 66.38 kB / 388.9 MB, free: 36.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.213e-05/0.2364, allocations: 100.3 kB / 389 MB, free: 35.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.2375, allocations: 0.8716 MB / 389.9 MB, free: 35.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.2375, allocations: 3.984 kB / 389.9 MB, free: 35.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.2376, allocations: 40 kB / 389.9 MB, free: 35.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.2376, allocations: 24 kB / 390 MB, free: 34.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007753/0.2384, allocations: 0.5622 MB / 390.5 MB, free: 34.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003188/0.2416, allocations: 2.995 MB / 393.5 MB, free: 31.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.242, allocations: 303.7 kB / 393.8 MB, free: 31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/0.2423, allocations: 264.8 kB / 394.1 MB, free: 30.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.2423, allocations: 4 kB / 394.1 MB, free: 30.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.2423, allocations: 38.56 kB / 394.1 MB, free: 30.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 2.444e-06/0.2423, allocations: 0 / 394.1 MB, free: 30.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.00121/0.2436, allocations: 0.6627 MB / 394.8 MB, free: 30 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.2436, allocations: 55.41 kB / 394.8 MB, free: 29.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004431/0.2441, allocations: 0.5141 MB / 395.3 MB, free: 29.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.2441, allocations: 29.7 kB / 395.4 MB, free: 29.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.2443, allocations: 493.5 kB / 395.8 MB, free: 28.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.267e-05/0.2444, allocations: 157.8 kB / 396 MB, free: 28.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.2444, allocations: 20 kB / 396 MB, free: 28.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.415e-05/0.2445, allocations: 366.8 kB / 396.4 MB, free: 28.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.2448, allocations: 169.9 kB / 396.5 MB, free: 28.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.2451, allocations: 449.6 kB / 397 MB, free: 27.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00065/0.2458, allocations: 0.6478 MB / 397.6 MB, free: 26.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.2458, allocations: 4 kB / 397.6 MB, free: 26.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009432/0.2468, allocations: 0.7566 MB / 398.4 MB, free: 26.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.2468, allocations: 12.62 kB / 398.4 MB, free: 26.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.2468, allocations: 8 kB / 398.4 MB, free: 26.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002836/0.2471, allocations: 88.75 kB / 398.5 MB, free: 25.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005969/0.2477, allocations: 203.6 kB / 398.7 MB, free: 25.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.249, allocations: 1.799 MB / 400.5 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.2495, allocations: 90.97 kB / 400.6 MB, free: 23.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.2495, allocations: 35.98 kB / 400.6 MB, free: 23.7 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.0002134/0.2497, allocations: 223.2 kB / 400.8 MB, free: 23.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.2498, allocations: 55.34 kB / 400.9 MB, free: 23.42 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.164e-05/0.2499, allocations: 65.56 kB / 401 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2499, allocations: 8 kB / 401 MB, free: 23.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.2499, allocations: 0 / 401 MB, free: 23.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2499, allocations: 0 / 401 MB, free: 23.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005252/0.2504, allocations: 0.6531 MB / 401.6 MB, free: 22.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2504, allocations: 0 / 401.6 MB, free: 22.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.2508, allocations: 91.94 kB / 401.7 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001662/0.251, allocations: 80.67 kB / 401.8 MB, free: 22.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.251, allocations: 12 kB / 401.8 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.2521, allocations: 1.788 MB / 403.6 MB, free: 20.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2521, allocations: 0 / 403.6 MB, free: 20.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007048/0.2529, allocations: 0.662 MB / 404.2 MB, free: 19.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.498e-05/0.2529, allocations: 136.3 kB / 404.4 MB, free: 19.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.779e-05/0.253, allocations: 8 kB / 404.4 MB, free: 19.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.2534, allocations: 51.91 kB / 404.4 MB, free: 19.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.2535, allocations: 39.89 kB / 404.5 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.2535, allocations: 16.12 kB / 404.5 MB, free: 19.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002657/0.2538, allocations: 342.9 kB / 404.8 MB, free: 19.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2538, allocations: 0 / 404.8 MB, free: 19.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006241/0.2544, allocations: 247.2 kB / 405.1 MB, free: 19.02 MB / 298.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.000116/0.2545, allocations: 119.2 kB / 405.2 MB, free: 18.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007587/0.2553, allocations: 0.5853 MB / 405.8 MB, free: 18.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2553, allocations: 320 / 405.8 MB, free: 18.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.2557, allocations: 322.5 kB / 406.1 MB, free: 17.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.2562, allocations: 114.5 kB / 406.2 MB, free: 17.85 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.258, allocations: 1.852 MB / 408.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.2583, allocations: 0.9262 MB / 409 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002596/0.2585, allocations: 69.2 kB / 409 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.58e-05/0.2586, allocations: 39.44 kB / 409.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2586, allocations: 4 kB / 409.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of Templates: time 0.009942/0.2686, allocations: 6.758 MB / 415.8 MB, free: 8.156 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches