Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001155/0.001155, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.88 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2406, allocations: 50.53 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003732/0.2443, allocations: 2.823 MB / 412.8 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.2454, allocations: 0.6583 MB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.2456, allocations: 4 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.2457, allocations: 47.5 kB / 413.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.2459, allocations: 95.17 kB / 413.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.2461, allocations: 71.91 kB / 413.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.2465, allocations: 358.8 kB / 414 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.2467, allocations: 139.4 kB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.2469, allocations: 127.5 kB / 414.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.2471, allocations: 151.4 kB / 414.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.193e-05/0.2472, allocations: 28 kB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.382e-05/0.2472, allocations: 32 kB / 414.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.4e-05/0.2473, allocations: 71.73 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.2474, allocations: 167.2 kB / 414.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.2478, allocations: 355.9 kB / 415 MB, free: 12.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2478, allocations: 3.984 kB / 415 MB, free: 12.49 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2478, allocations: 4 kB / 415 MB, free: 12.49 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.2478, allocations: 0 / 415 MB, free: 12.49 MB / 334.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.0008779/0.2487, allocations: 0.5926 MB / 415.6 MB, free: 11.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2488, allocations: 8.031 kB / 415.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.468e-05/0.2489, allocations: 32.56 kB / 415.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.2492, allocations: 263.7 kB / 415.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.2492, allocations: 20.94 kB / 415.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.2493, allocations: 28.31 kB / 416 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.2497, allocations: 253.2 kB / 416.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2497, allocations: 4 kB / 416.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.2497, allocations: 16 kB / 416.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.2498, allocations: 8 kB / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003271/0.2501, allocations: 186.2 kB / 416.4 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.2515, allocations: 0.9977 MB / 417.4 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.2519, allocations: 335.4 kB / 417.8 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.2522, allocations: 143.1 kB / 417.9 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.2522, allocations: 3.938 kB / 417.9 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.2522, allocations: 46.48 kB / 417.9 MB, free: 9.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.413e-06/0.2522, allocations: 0 / 417.9 MB, free: 9.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.00143/0.2537, allocations: 0.7713 MB / 418.7 MB, free: 8.527 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.2537, allocations: 55.41 kB / 418.8 MB, free: 8.461 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.2539, allocations: 199.1 kB / 419 MB, free: 8.258 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.2539, allocations: 33.7 kB / 419 MB, free: 8.219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.254, allocations: 168.3 kB / 419.2 MB, free: 8.051 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.447e-05/0.2541, allocations: 90.66 kB / 419.3 MB, free: 7.961 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-05/0.2542, allocations: 49.98 kB / 419.3 MB, free: 7.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2543, allocations: 330.8 kB / 419.6 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.2545, allocations: 72.53 kB / 419.7 MB, free: 7.504 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.2546, allocations: 100.2 kB / 419.8 MB, free: 7.402 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.2549, allocations: 186.2 kB / 420 MB, free: 7.215 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2549, allocations: 3.938 kB / 420 MB, free: 7.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005448/0.2555, allocations: 314 kB / 420.3 MB, free: 6.895 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2555, allocations: 4 kB / 420.3 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2555, allocations: 8.031 kB / 420.3 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/0.2558, allocations: 88.73 kB / 420.4 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.256, allocations: 39.98 kB / 420.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.2581, allocations: 2.096 MB / 422.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.2582, allocations: 11.97 kB / 422.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.2583, allocations: 4 kB / 422.5 MB, free: 4.504 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.0001495/0.2584, allocations: 145.7 kB / 422.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.2585, allocations: 23.72 kB / 422.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.851e-05/0.2585, allocations: 29.86 kB / 422.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2585, allocations: 4 kB / 422.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.2586, allocations: 4.062 kB / 422.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2586, allocations: 7.938 kB / 422.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.2597, allocations: 0.741 MB / 423.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.2597, allocations: 0 / 423.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.2599, allocations: 35.92 kB / 423.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001985/0.2601, allocations: 72.8 kB / 423.6 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.2601, allocations: 11.98 kB / 423.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.2619, allocations: 1.994 MB / 425.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2619, allocations: 0 / 425.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006263/0.2626, allocations: 456.2 kB / 426 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.2627, allocations: 96.92 kB / 426.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.2627, allocations: 8 kB / 426.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.2629, allocations: 15.98 kB / 426.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.2629, allocations: 19.97 kB / 426.2 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.263, allocations: 8 kB / 426.2 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.2631, allocations: 140.4 kB / 426.3 MB, free: 472 kB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2631, allocations: 0 / 426.3 MB, free: 472 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004421/0.2635, allocations: 80 kB / 426.4 MB, free: 392 kB / 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.0001365/0.2637, allocations: 110.7 kB / 426.5 MB, free: 276 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006756/0.2644, allocations: 378.8 kB / 426.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.2644, allocations: 0 / 426.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004088/0.2648, allocations: 258.5 kB / 427.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.2652, allocations: 52.09 kB / 427.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.2664, allocations: 0.7912 MB / 428 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.2668, allocations: 0.7635 MB / 428.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.381e-05/0.2668, allocations: 19.44 kB / 428.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2668, allocations: 4 kB / 428.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of Templates: time 0.006183/0.273, allocations: 4.027 MB / 432.8 MB, free: 9.91 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches