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.CauerLowPassAnalog.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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009133/0.0009134, allocations: 177.2 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.331/1.331, allocations: 205.6 MB / 223.7 MB, free: 8.957 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.0007094/0.0007094, allocations: 94.36 kB / 272.1 MB, free: 8.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003512, allocations: 8 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2272, allocations: 47.57 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002292/0.2296, allocations: 2.35 MB / 378.9 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007639/0.2303, allocations: 0.6367 MB / 379.6 MB, free: 43.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.2305, allocations: 8.094 kB / 379.6 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.2306, allocations: 37.41 kB / 379.6 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.2307, allocations: 73.02 kB / 379.7 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.2309, allocations: 63.31 kB / 379.8 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.2312, allocations: 338.5 kB / 380.1 MB, free: 42.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.2314, allocations: 118.7 kB / 380.2 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.2315, allocations: 106.2 kB / 380.3 MB, free: 42.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.2317, allocations: 144.2 kB / 380.5 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.2317, allocations: 16.72 kB / 380.5 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.372e-05/0.2318, allocations: 15.91 kB / 380.5 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.924e-05/0.2318, allocations: 48.5 kB / 380.5 MB, free: 42.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.232, allocations: 162.8 kB / 380.7 MB, free: 42.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.2322, allocations: 334.9 kB / 381 MB, free: 42.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2322, allocations: 1.375 kB / 381 MB, free: 42.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2322, allocations: 0 / 381 MB, free: 42.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.2322, allocations: 4 kB / 381 MB, free: 42.24 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0006634/0.2329, allocations: 0.539 MB / 381.6 MB, free: 41.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2329, allocations: 10.56 kB / 381.6 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.18e-05/0.233, allocations: 40.38 kB / 381.6 MB, free: 41.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.2333, allocations: 252.7 kB / 381.9 MB, free: 41.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.2333, allocations: 20.47 kB / 381.9 MB, free: 41.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.2333, allocations: 30.81 kB / 381.9 MB, free: 41.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.2337, allocations: 253.9 kB / 382.2 MB, free: 41.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2337, allocations: 0 / 382.2 MB, free: 41.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.2338, allocations: 10.16 kB / 382.2 MB, free: 41.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.2338, allocations: 6.938 kB / 382.2 MB, free: 41.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003536/0.2342, allocations: 190.5 kB / 382.4 MB, free: 41.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.2356, allocations: 1.028 MB / 383.4 MB, free: 40.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.236, allocations: 331.8 kB / 383.7 MB, free: 40.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.2363, allocations: 144.5 kB / 383.9 MB, free: 39.99 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.2363, allocations: 1.875 kB / 383.9 MB, free: 39.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.2364, allocations: 40.16 kB / 383.9 MB, free: 39.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.2364, allocations: 0 / 383.9 MB, free: 39.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.00131/0.2377, allocations: 0.7875 MB / 384.7 MB, free: 39.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.2377, allocations: 54.53 kB / 384.7 MB, free: 39.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.2379, allocations: 191.8 kB / 384.9 MB, free: 39.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.2379, allocations: 30.89 kB / 385 MB, free: 39.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.238, allocations: 174.4 kB / 385.1 MB, free: 38.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.616e-05/0.238, allocations: 92.84 kB / 385.2 MB, free: 38.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-06/0.238, allocations: 6.031 kB / 385.2 MB, free: 38.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.763e-05/0.2381, allocations: 335.1 kB / 385.5 MB, free: 38.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.2382, allocations: 79.44 kB / 385.6 MB, free: 38.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.2384, allocations: 100.5 kB / 385.7 MB, free: 38.47 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.2386, allocations: 186.1 kB / 385.9 MB, free: 38.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2387, allocations: 0 / 385.9 MB, free: 38.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004704/0.2391, allocations: 316.7 kB / 386.2 MB, free: 38.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2392, allocations: 12.25 kB / 386.2 MB, free: 38.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2392, allocations: 0 / 386.2 MB, free: 38.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/0.2394, allocations: 91.28 kB / 386.3 MB, free: 38.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.2396, allocations: 47.47 kB / 386.4 MB, free: 38.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.2411, allocations: 1.904 MB / 388.3 MB, free: 36.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.2413, allocations: 8.031 kB / 388.3 MB, free: 36.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.2413, allocations: 12 kB / 388.3 MB, free: 36.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 (22): * Single equations (assignments): 21 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.548e-05/0.2414, allocations: 137.8 kB / 388.4 MB, free: 36.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.2414, allocations: 15.81 kB / 388.4 MB, free: 36.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.2415, allocations: 29.86 kB / 388.5 MB, free: 36.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2415, allocations: 8.172 kB / 388.5 MB, free: 36.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.2415, allocations: 3.938 kB / 388.5 MB, free: 36.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2415, allocations: 0 / 388.5 MB, free: 36.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007854/0.2423, allocations: 0.7562 MB / 389.2 MB, free: 35.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2423, allocations: 0 / 389.2 MB, free: 35.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.2425, allocations: 35.98 kB / 389.3 MB, free: 35.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001572/0.2426, allocations: 76.77 kB / 389.3 MB, free: 35.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.2426, allocations: 7.938 kB / 389.3 MB, free: 35.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.2437, allocations: 1.796 MB / 391.1 MB, free: 33.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2437, allocations: 4.031 kB / 391.1 MB, free: 33.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004835/0.2442, allocations: 464.5 kB / 391.6 MB, free: 32.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.2443, allocations: 96.89 kB / 391.7 MB, free: 32.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.2443, allocations: 11.98 kB / 391.7 MB, free: 32.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.2445, allocations: 8 kB / 391.7 MB, free: 32.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.2445, allocations: 23.91 kB / 391.7 MB, free: 32.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.2445, allocations: 4 kB / 391.7 MB, free: 32.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.889e-05/0.2446, allocations: 152.3 kB / 391.9 MB, free: 32.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2446, allocations: 0 / 391.9 MB, free: 32.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003426/0.245, allocations: 80 kB / 392 MB, free: 32.42 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,C3.v,C5.v,L1.i,L2.i) * 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 (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): 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 9.906e-05/0.2451, allocations: 111.2 kB / 392.1 MB, free: 32.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005296/0.2456, allocations: 370.4 kB / 392.4 MB, free: 31.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2456, allocations: 0 / 392.4 MB, free: 31.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00032/0.246, allocations: 263.5 kB / 392.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.2463, allocations: 36.2 kB / 392.7 MB, free: 31.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009915/0.2473, allocations: 0.9726 MB / 393.7 MB, free: 30.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.2475, allocations: 0.7677 MB / 394.5 MB, free: 29.83 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.216e-05/0.2476, allocations: 14.3 kB / 394.5 MB, free: 29.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.2476, allocations: 19.44 kB / 394.5 MB, free: 29.8 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2476, allocations: 3.938 kB / 394.5 MB, free: 29.79 MB / 298.7 MB Notification: Performance of Templates: time 0.004968/0.2526, allocations: 2.999 MB / 397.5 MB, free: 26.8 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches