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.001005/0.001005, allocations: 177.9 kB / 16.41 MB, free: 5.707 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.298/1.298, allocations: 205.4 MB / 222.6 MB, free: 9.109 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.0007604/0.0007602, allocations: 91.8 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.0003192, allocations: 12 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.215, allocations: 47.57 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002285/0.2174, allocations: 2.34 MB / 376.9 MB, free: 43.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00078/0.2182, allocations: 0.6237 MB / 377.5 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.2183, allocations: 8.469 kB / 377.5 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.2184, allocations: 40.75 kB / 377.6 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.2186, allocations: 73.34 kB / 377.6 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.2187, allocations: 55.47 kB / 377.7 MB, free: 42.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.219, allocations: 330 kB / 378 MB, free: 42.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.2192, allocations: 111.9 kB / 378.1 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.2193, allocations: 107 kB / 378.2 MB, free: 42.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.2195, allocations: 119.8 kB / 378.3 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.2196, allocations: 16.41 kB / 378.4 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.866e-05/0.2196, allocations: 16.84 kB / 378.4 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.2197, allocations: 56.06 kB / 378.4 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.595e-05/0.2197, allocations: 82.48 kB / 378.5 MB, free: 42.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.2199, allocations: 257.6 kB / 378.8 MB, free: 42.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2199, allocations: 0 / 378.8 MB, free: 42.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.22, allocations: 0 / 378.8 MB, free: 42.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.22, allocations: 1.219 kB / 378.8 MB, free: 42.23 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.0006862/0.2207, allocations: 0.5456 MB / 379.3 MB, free: 41.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2207, allocations: 13.22 kB / 379.3 MB, free: 41.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.542e-05/0.2208, allocations: 31.97 kB / 379.4 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.221, allocations: 252 kB / 379.6 MB, free: 41.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.221, allocations: 22.8 kB / 379.6 MB, free: 41.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.2211, allocations: 27.03 kB / 379.6 MB, free: 41.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.2215, allocations: 261.7 kB / 379.9 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2215, allocations: 0 / 379.9 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.2216, allocations: 15.09 kB / 379.9 MB, free: 41.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.2216, allocations: 10.16 kB / 379.9 MB, free: 41.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003407/0.2219, allocations: 186.8 kB / 380.1 MB, free: 41.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.2233, allocations: 1.017 MB / 381.1 MB, free: 40.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.2236, allocations: 337.8 kB / 381.5 MB, free: 40.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.2239, allocations: 147.7 kB / 381.6 MB, free: 39.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.2239, allocations: 2.469 kB / 381.6 MB, free: 39.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.2239, allocations: 36 kB / 381.6 MB, free: 39.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.2239, allocations: 1.719 kB / 381.6 MB, free: 39.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.001274/0.2252, allocations: 0.7791 MB / 382.4 MB, free: 39.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.2252, allocations: 54.25 kB / 382.5 MB, free: 39.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.2254, allocations: 196.4 kB / 382.7 MB, free: 39.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.2254, allocations: 27.14 kB / 382.7 MB, free: 39.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/0.2255, allocations: 173.8 kB / 382.9 MB, free: 38.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.2255, allocations: 90.06 kB / 382.9 MB, free: 38.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.2256, allocations: 4 kB / 383 MB, free: 38.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5e-05/0.2256, allocations: 336.5 kB / 383.3 MB, free: 38.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.2257, allocations: 70.09 kB / 383.3 MB, free: 38.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.2259, allocations: 106.2 kB / 383.5 MB, free: 38.47 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.2261, allocations: 83.45 kB / 383.5 MB, free: 38.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2261, allocations: 0 / 383.5 MB, free: 38.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004812/0.2266, allocations: 331.6 kB / 383.9 MB, free: 38.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2266, allocations: 9.516 kB / 383.9 MB, free: 38.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.2266, allocations: 0 / 383.9 MB, free: 38.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000246/0.2269, allocations: 82.34 kB / 383.9 MB, free: 38.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.2271, allocations: 48.41 kB / 384 MB, free: 38.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.2286, allocations: 1.896 MB / 385.9 MB, free: 36.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.2287, allocations: 8.578 kB / 385.9 MB, free: 36.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.2287, allocations: 13.44 kB / 385.9 MB, free: 36.45 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.0001104/0.2288, allocations: 141.7 kB / 386.1 MB, free: 36.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.2289, allocations: 21.94 kB / 386.1 MB, free: 36.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.2289, allocations: 29.33 kB / 386.1 MB, free: 36.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.229, allocations: 3.938 kB / 386.1 MB, free: 36.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.229, allocations: 0.8438 kB / 386.1 MB, free: 36.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.229, allocations: 1.344 kB / 386.1 MB, free: 36.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009035/0.2299, allocations: 0.7512 MB / 386.9 MB, free: 35.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2299, allocations: 0 / 386.9 MB, free: 35.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.2301, allocations: 38.7 kB / 386.9 MB, free: 35.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001722/0.2303, allocations: 76.7 kB / 387 MB, free: 35.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.2303, allocations: 6.328 kB / 387 MB, free: 35.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.2315, allocations: 1.794 MB / 388.8 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2315, allocations: 0 / 388.8 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.232, allocations: 472.2 kB / 389.2 MB, free: 33.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.232, allocations: 100.8 kB / 389.3 MB, free: 33.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.232, allocations: 8.016 kB / 389.3 MB, free: 33.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.2322, allocations: 12 kB / 389.4 MB, free: 33.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.2323, allocations: 27.91 kB / 389.4 MB, free: 33.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.2323, allocations: 8 kB / 389.4 MB, free: 33.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.635e-05/0.2324, allocations: 144.3 kB / 389.5 MB, free: 33.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2324, allocations: 0 / 389.5 MB, free: 33.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003423/0.2327, allocations: 76 kB / 389.6 MB, free: 33.07 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 9.471e-05/0.2328, allocations: 107.2 kB / 389.7 MB, free: 32.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005035/0.2333, allocations: 366.4 kB / 390.1 MB, free: 32.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2333, allocations: 0 / 390.1 MB, free: 32.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003149/0.2337, allocations: 262.9 kB / 390.3 MB, free: 32.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.234, allocations: 43.28 kB / 390.4 MB, free: 32.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009136/0.2349, allocations: 0.9736 MB / 391.3 MB, free: 31.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.2351, allocations: 0.7675 MB / 392.1 MB, free: 30.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.2351, allocations: 15.44 kB / 392.1 MB, free: 30.46 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2351, allocations: 0 / 392.1 MB, free: 30.46 MB / 298.7 MB Notification: Performance of Templates: time 0.004488/0.2396, allocations: 3.98 MB / 396.1 MB, free: 26.48 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