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.00112/0.00112, 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.001216/0.001215, allocations: 193.5 kB / 18.67 MB, free: 4.434 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.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 47.94 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2675, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003904/0.2714, allocations: 2.812 MB / 404.2 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.2726, allocations: 0.6154 MB / 404.8 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.2729, allocations: 8 kB / 404.8 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.2731, allocations: 51.5 kB / 404.9 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.2734, allocations: 83.19 kB / 405 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.2736, allocations: 75.91 kB / 405.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004026/0.274, allocations: 358.8 kB / 405.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.2743, allocations: 135.4 kB / 405.5 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.2745, allocations: 131.5 kB / 405.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.2747, allocations: 147.4 kB / 405.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.95e-05/0.2747, allocations: 32 kB / 405.8 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.176e-05/0.2748, allocations: 32 kB / 405.9 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.949e-05/0.2749, allocations: 71.75 kB / 405.9 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.275, allocations: 163.2 kB / 406.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.2754, allocations: 355.9 kB / 406.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2754, allocations: 0 / 406.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2754, allocations: 0 / 406.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.2754, allocations: 0 / 406.4 MB, free: 3.801 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.0008757/0.2763, allocations: 0.5926 MB / 407 MB, free: 3.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2764, allocations: 12.03 kB / 407.1 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/0.2764, allocations: 36.5 kB / 407.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.2768, allocations: 271.6 kB / 407.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.2768, allocations: 20.94 kB / 407.4 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.69e-05/0.2769, allocations: 28.38 kB / 407.4 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.2773, allocations: 249.2 kB / 407.6 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2773, allocations: 4 kB / 407.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.2773, allocations: 12 kB / 407.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2774, allocations: 4 kB / 407.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003216/0.2777, allocations: 186.2 kB / 407.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.2791, allocations: 1.006 MB / 408.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.2796, allocations: 330.6 kB / 409.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.2798, allocations: 148.8 kB / 409.3 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.2798, allocations: 7.938 kB / 409.3 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.2798, allocations: 30.56 kB / 409.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/0.2798, allocations: 0 / 409.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001452/0.2813, allocations: 0.7813 MB / 410.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.2813, allocations: 55.34 kB / 410.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.2815, allocations: 194.3 kB / 410.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.2816, allocations: 33.7 kB / 410.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.307e-05/0.2816, allocations: 168.2 kB / 410.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.426e-05/0.2817, allocations: 94.64 kB / 410.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-05/0.2818, allocations: 49.98 kB / 410.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2819, allocations: 334.8 kB / 411 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.282, allocations: 72.53 kB / 411.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.2822, allocations: 107.6 kB / 411.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.2825, allocations: 178.4 kB / 411.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2825, allocations: 0 / 411.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000481/0.283, allocations: 318.1 kB / 411.7 MB, free: 14.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.283, allocations: 8 kB / 411.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.283, allocations: 0 / 411.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002429/0.2833, allocations: 80.81 kB / 411.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.2834, allocations: 47.97 kB / 411.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/0.2853, allocations: 2.096 MB / 413.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.2854, allocations: 7.938 kB / 413.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.2855, allocations: 12 kB / 414 MB, free: 11.8 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.0001245/0.2856, allocations: 142 kB / 414.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.2856, allocations: 19.72 kB / 414.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.658e-05/0.2857, allocations: 25.88 kB / 414.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2857, allocations: 8.062 kB / 414.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2857, allocations: 4 kB / 414.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2857, allocations: 11.92 kB / 414.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009695/0.2867, allocations: 0.7409 MB / 414.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2867, allocations: 0 / 414.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.2869, allocations: 47.92 kB / 415 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001817/0.2871, allocations: 64.8 kB / 415 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.2871, allocations: 8 kB / 415 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.2887, allocations: 1.987 MB / 417 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2887, allocations: 4.062 kB / 417 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005878/0.2893, allocations: 463.8 kB / 417.5 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.2894, allocations: 96.84 kB / 417.6 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.2894, allocations: 4.062 kB / 417.6 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.2896, allocations: 16 kB / 417.6 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.2897, allocations: 19.97 kB / 417.6 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.2897, allocations: 11.98 kB / 417.6 MB, free: 7.891 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.2898, allocations: 140.3 kB / 417.8 MB, free: 7.754 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2898, allocations: 0 / 417.8 MB, free: 7.754 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003962/0.2902, allocations: 76 kB / 417.8 MB, free: 7.68 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.0001298/0.2903, allocations: 119.1 kB / 417.9 MB, free: 7.555 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006062/0.291, allocations: 362.7 kB / 418.3 MB, free: 7.188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.291, allocations: 3.938 kB / 418.3 MB, free: 7.184 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003996/0.2914, allocations: 255 kB / 418.5 MB, free: 6.922 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.2917, allocations: 44.27 kB / 418.6 MB, free: 6.879 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.2929, allocations: 0.7955 MB / 419.4 MB, free: 6.055 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.2932, allocations: 0.7636 MB / 420.2 MB, free: 5.262 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.2932, allocations: 15.44 kB / 420.2 MB, free: 5.246 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2932, allocations: 0 / 420.2 MB, free: 5.246 MB / 334.1 MB Notification: Performance of Templates: time 0.005767/0.299, allocations: 4.07 MB / 424.2 MB, free: 1.184 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