Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/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_cpp_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_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008513/0.0008514, allocations: 174.7 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007996/0.0007996, allocations: 97.34 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003191, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2302, allocations: 47.57 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.00237/0.2326, allocations: 2.346 MB / 377.4 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000892/0.2335, allocations: 0.6234 MB / 378.1 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.2336, allocations: 4.844 kB / 378.1 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.2338, allocations: 40.53 kB / 378.1 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.2339, allocations: 78.03 kB / 378.2 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.2341, allocations: 51.58 kB / 378.2 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.2344, allocations: 326.1 kB / 378.5 MB, free: 42.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.2346, allocations: 120.3 kB / 378.7 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.2348, allocations: 109.4 kB / 378.8 MB, free: 42.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.2349, allocations: 124.7 kB / 378.9 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.197e-05/0.235, allocations: 16 kB / 378.9 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.885e-05/0.2351, allocations: 17.19 kB / 378.9 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.2351, allocations: 51.56 kB / 379 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.2353, allocations: 166.5 kB / 379.1 MB, free: 42.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.2355, allocations: 266.1 kB / 379.4 MB, free: 42.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2355, allocations: 0 / 379.4 MB, free: 42.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2355, allocations: 0 / 379.4 MB, free: 42.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.2355, allocations: 0 / 379.4 MB, free: 42.16 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.0007297/0.2363, allocations: 0.5396 MB / 379.9 MB, free: 41.67 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2363, allocations: 10.03 kB / 379.9 MB, free: 41.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.513e-05/0.2364, allocations: 33.31 kB / 380 MB, free: 41.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.2366, allocations: 256.9 kB / 380.2 MB, free: 41.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.2366, allocations: 19.53 kB / 380.2 MB, free: 41.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.456e-05/0.2367, allocations: 31.28 kB / 380.3 MB, free: 41.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.2371, allocations: 254 kB / 380.5 MB, free: 41.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.2372, allocations: 0 / 380.5 MB, free: 41.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.2372, allocations: 14.19 kB / 380.5 MB, free: 41.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.2372, allocations: 10.73 kB / 380.5 MB, free: 41.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003479/0.2376, allocations: 186.7 kB / 380.7 MB, free: 41.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.2389, allocations: 1.022 MB / 381.8 MB, free: 40.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.2393, allocations: 334.4 kB / 382.1 MB, free: 39.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.2396, allocations: 147.4 kB / 382.2 MB, free: 39.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.2396, allocations: 1.938 kB / 382.2 MB, free: 39.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.2396, allocations: 36.88 kB / 382.3 MB, free: 39.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.544e-06/0.2396, allocations: 0 / 382.3 MB, free: 39.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.00136/0.241, allocations: 0.7866 MB / 383 MB, free: 39.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.241, allocations: 58.59 kB / 383.1 MB, free: 39.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.2412, allocations: 191.3 kB / 383.3 MB, free: 39.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.2412, allocations: 30.83 kB / 383.3 MB, free: 39.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.31e-05/0.2413, allocations: 170.4 kB / 383.5 MB, free: 38.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.556e-05/0.2414, allocations: 92.91 kB / 383.6 MB, free: 38.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/0.2414, allocations: 5.125 kB / 383.6 MB, free: 38.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.883e-05/0.2415, allocations: 335.9 kB / 383.9 MB, free: 38.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.2416, allocations: 71.12 kB / 384 MB, free: 38.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.2418, allocations: 108.6 kB / 384.1 MB, free: 38.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.2421, allocations: 188.7 kB / 384.3 MB, free: 38.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2421, allocations: 0 / 384.3 MB, free: 38.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005256/0.2426, allocations: 324.2 kB / 384.6 MB, free: 38.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2426, allocations: 5.344 kB / 384.6 MB, free: 38.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.2426, allocations: 1.094 kB / 384.6 MB, free: 38.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002691/0.2429, allocations: 85.81 kB / 384.7 MB, free: 38.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.2432, allocations: 48.47 kB / 384.7 MB, free: 38.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.2448, allocations: 1.904 MB / 386.6 MB, free: 36.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.2449, allocations: 8.219 kB / 386.6 MB, free: 36.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.245, allocations: 9.328 kB / 386.6 MB, free: 36.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.2451, allocations: 153.2 kB / 386.8 MB, free: 36.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.2451, allocations: 18.72 kB / 386.8 MB, free: 36.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.2452, allocations: 30.3 kB / 386.8 MB, free: 36.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2452, allocations: 6.234 kB / 386.8 MB, free: 36.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.2452, allocations: 1.969 kB / 386.9 MB, free: 36.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2452, allocations: 0 / 386.9 MB, free: 36.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009829/0.2462, allocations: 0.7509 MB / 387.6 MB, free: 35.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2462, allocations: 1.25 kB / 387.6 MB, free: 35.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.2464, allocations: 42.44 kB / 387.6 MB, free: 35.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001847/0.2466, allocations: 76.48 kB / 387.7 MB, free: 35.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.2466, allocations: 5.375 kB / 387.7 MB, free: 35.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.2479, allocations: 1.787 MB / 389.5 MB, free: 33.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2479, allocations: 0 / 389.5 MB, free: 33.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005186/0.2484, allocations: 471.8 kB / 390 MB, free: 33.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.2485, allocations: 96.81 kB / 390.1 MB, free: 33.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.2485, allocations: 4.062 kB / 390.1 MB, free: 33.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.2486, allocations: 20 kB / 390.1 MB, free: 32.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.2487, allocations: 23.91 kB / 390.1 MB, free: 32.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.2487, allocations: 7.984 kB / 390.1 MB, free: 32.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.992e-05/0.2488, allocations: 140.3 kB / 390.3 MB, free: 32.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2488, allocations: 0 / 390.3 MB, free: 32.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003878/0.2492, allocations: 76 kB / 390.3 MB, free: 32.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001156/0.2493, allocations: 111.2 kB / 390.4 MB, free: 32.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005392/0.2499, allocations: 370.6 kB / 390.8 MB, free: 32.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.2499, allocations: 0 / 390.8 MB, free: 32.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.2502, allocations: 263 kB / 391.1 MB, free: 31.99 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.2506, allocations: 33.7 kB / 391.1 MB, free: 31.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.2516, allocations: 0.9699 MB / 392.1 MB, free: 30.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.2518, allocations: 0.7675 MB / 392.8 MB, free: 30.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.856e-05/0.2519, allocations: 19.44 kB / 392.8 MB, free: 30.14 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2519, allocations: 0 / 392.8 MB, free: 30.14 MB / 298.7 MB Notification: Performance of Templates: time 0.00479/0.2567, allocations: 3.982 MB / 396.8 MB, free: 26.17 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches