Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 109.9 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 181.5 kB / 18.66 MB, free: 4.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 47.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2673, allocations: 49.43 MB / 401.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.006844/0.2742, allocations: 2.82 MB / 404.2 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.2762, allocations: 0.6154 MB / 404.8 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002591/0.2765, allocations: 8 kB / 404.9 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.2768, allocations: 47.5 kB / 404.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.2772, allocations: 91.19 kB / 405 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.2776, allocations: 79.83 kB / 405.1 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006393/0.2783, allocations: 346.9 kB / 405.4 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004225/0.2787, allocations: 135.4 kB / 405.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.279, allocations: 135.5 kB / 405.7 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003641/0.2794, allocations: 143.4 kB / 405.8 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.2795, allocations: 32 kB / 405.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.982e-05/0.2796, allocations: 36 kB / 405.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.2797, allocations: 75.69 kB / 406 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.28, allocations: 159.3 kB / 406.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005966/0.2806, allocations: 351.9 kB / 406.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2807, allocations: 0 / 406.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2807, allocations: 0 / 406.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.2807, allocations: 0 / 406.5 MB, free: 3.848 MB / 318.1 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.001495/0.2822, allocations: 0.5965 MB / 407 MB, free: 3.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.2823, allocations: 12.03 kB / 407.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.2824, allocations: 32.56 kB / 407.1 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005498/0.283, allocations: 267.6 kB / 407.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.283, allocations: 20.94 kB / 407.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.21e-05/0.2831, allocations: 36.31 kB / 407.4 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007912/0.2839, allocations: 249.2 kB / 407.7 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.284, allocations: 0 / 407.7 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.996e-05/0.284, allocations: 12 kB / 407.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.2841, allocations: 7.938 kB / 407.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000637/0.2847, allocations: 190.2 kB / 407.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/0.2875, allocations: 1.002 MB / 408.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.2882, allocations: 330.4 kB / 409.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003919/0.2886, allocations: 144.8 kB / 409.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.2886, allocations: 0 / 409.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.2887, allocations: 42.56 kB / 409.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.284e-06/0.2887, allocations: 0 / 409.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.002503/0.2912, allocations: 0.7775 MB / 410.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.2913, allocations: 55.34 kB / 410.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.2916, allocations: 190.3 kB / 410.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.2917, allocations: 33.64 kB / 410.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.2919, allocations: 172.2 kB / 410.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.292, allocations: 94.66 kB / 410.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.2922, allocations: 45.98 kB / 410.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.2924, allocations: 334.8 kB / 411 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.2927, allocations: 76.53 kB / 411.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.293, allocations: 107.5 kB / 411.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005487/0.2936, allocations: 178.5 kB / 411.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2936, allocations: 0 / 411.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001021/0.2946, allocations: 318.1 kB / 411.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.2947, allocations: 8 kB / 411.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.2947, allocations: 0 / 411.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004555/0.2951, allocations: 80.81 kB / 411.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.2956, allocations: 47.91 kB / 411.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00349/0.2991, allocations: 2.107 MB / 414 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.2993, allocations: 11.92 kB / 414 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.2994, allocations: 8 kB / 414 MB, free: 11.83 MB / 334.1 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 0.0002378/0.2996, allocations: 138.1 kB / 414.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.132e-05/0.2997, allocations: 23.78 kB / 414.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.286e-05/0.2998, allocations: 25.88 kB / 414.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.2999, allocations: 4 kB / 414.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.2999, allocations: 4 kB / 414.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.2999, allocations: 11.92 kB / 414.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.3018, allocations: 0.7447 MB / 414.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.3018, allocations: 0 / 414.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/0.3022, allocations: 35.98 kB / 415 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003802/0.3026, allocations: 64.8 kB / 415 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.3026, allocations: 11.94 kB / 415 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003105/0.3057, allocations: 1.987 MB / 417 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3058, allocations: 0 / 417 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.3069, allocations: 459.9 kB / 417.5 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.307, allocations: 105 kB / 417.6 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.3071, allocations: 4 kB / 417.6 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.3074, allocations: 8 kB / 417.6 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.776e-05/0.3075, allocations: 19.97 kB / 417.6 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.3076, allocations: 15.92 kB / 417.6 MB, free: 7.938 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002131/0.3078, allocations: 140.3 kB / 417.8 MB, free: 7.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3078, allocations: 0 / 417.8 MB, free: 7.801 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008134/0.3086, allocations: 80 kB / 417.8 MB, free: 7.723 MB / 334.1 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 0.0001897/0.3088, allocations: 115.2 kB / 417.9 MB, free: 7.602 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.31, allocations: 366.6 kB / 418.3 MB, free: 7.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.31, allocations: 0 / 418.3 MB, free: 7.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007627/0.3108, allocations: 259 kB / 418.6 MB, free: 6.965 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000656/0.3115, allocations: 44.03 kB / 418.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.3133, allocations: 0.7878 MB / 419.4 MB, free: 6.105 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.3136, allocations: 0.7636 MB / 420.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.3137, allocations: 19.44 kB / 420.2 MB, free: 5.293 MB / 334.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3137, allocations: 0 / 420.2 MB, free: 5.293 MB / 334.1 MB Notification: Performance of Templates: time 0.005728/0.3194, allocations: 4.035 MB / 424.2 MB, free: 1.266 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches