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.001541/0.00154, allocations: 106.1 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001657/0.001658, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 55.69 kB / 306.4 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1249, allocations: 50.54 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.005031/0.13, allocations: 2.87 MB / 359.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.1316, allocations: 0.6428 MB / 360.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003714/0.132, allocations: 4 kB / 360.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.1323, allocations: 43.69 kB / 360.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.1327, allocations: 79.36 kB / 360.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.1329, allocations: 59.95 kB / 360.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000482/0.1334, allocations: 346.9 kB / 361 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/0.1338, allocations: 147.3 kB / 361.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.134, allocations: 131.5 kB / 361.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.1343, allocations: 147.4 kB / 361.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.015e-05/0.1343, allocations: 32 kB / 361.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.759e-05/0.1344, allocations: 32 kB / 361.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.833e-05/0.1345, allocations: 67.77 kB / 361.6 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.1347, allocations: 163.2 kB / 361.7 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004691/0.1352, allocations: 359 kB / 362.1 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1352, allocations: 4 kB / 362.1 MB, free: 9.285 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1352, allocations: 0 / 362.1 MB, free: 9.285 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.396e-05/0.1352, allocations: 0 / 362.1 MB, free: 9.285 MB / 302.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.00131/0.1366, allocations: 0.5886 MB / 362.7 MB, free: 8.648 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.1366, allocations: 8.031 kB / 362.7 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.1367, allocations: 40.55 kB / 362.7 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/0.1372, allocations: 255.8 kB / 363 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.1372, allocations: 16.94 kB / 363 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.959e-05/0.1373, allocations: 36.28 kB / 363 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005653/0.1379, allocations: 253.2 kB / 363.3 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1379, allocations: 0 / 363.3 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.138, allocations: 12 kB / 363.3 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.138, allocations: 8 kB / 363.3 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.1384, allocations: 182.2 kB / 363.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.1403, allocations: 1.021 MB / 364.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004195/0.1407, allocations: 336.8 kB / 364.8 MB, free: 6.336 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.141, allocations: 151.5 kB / 364.9 MB, free: 6.188 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.141, allocations: 4 kB / 365 MB, free: 6.184 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.141, allocations: 34.55 kB / 365 MB, free: 6.141 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.141, allocations: 0 / 365 MB, free: 6.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.00153/0.1426, allocations: 0.7763 MB / 365.8 MB, free: 5.312 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.1426, allocations: 55.41 kB / 365.8 MB, free: 5.246 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.1428, allocations: 198.1 kB / 366 MB, free: 5.039 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.1429, allocations: 29.7 kB / 366 MB, free: 5.004 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.143, allocations: 172.3 kB / 366.2 MB, free: 4.828 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.66e-05/0.1431, allocations: 90.64 kB / 366.3 MB, free: 4.738 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.611e-05/0.1432, allocations: 45.98 kB / 366.3 MB, free: 4.688 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1433, allocations: 338.8 kB / 366.7 MB, free: 4.348 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.1435, allocations: 68.53 kB / 366.7 MB, free: 4.281 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.1436, allocations: 99.58 kB / 366.8 MB, free: 4.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.1439, allocations: 194.1 kB / 367 MB, free: 3.984 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.144, allocations: 0 / 367 MB, free: 3.984 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005899/0.1446, allocations: 314 kB / 367.3 MB, free: 3.668 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.1446, allocations: 6.969 kB / 367.3 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.1446, allocations: 0 / 367.3 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000305/0.1449, allocations: 96.77 kB / 367.4 MB, free: 3.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.1451, allocations: 39.98 kB / 367.5 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.1472, allocations: 2.092 MB / 369.6 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.1474, allocations: 11.97 kB / 369.6 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.1474, allocations: 8 kB / 369.6 MB, free: 1.277 MB / 302.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.0001714/0.1476, allocations: 137.8 kB / 369.7 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.1477, allocations: 23.97 kB / 369.7 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.1477, allocations: 33.8 kB / 369.8 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1477, allocations: 4 kB / 369.8 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.1477, allocations: 0 / 369.8 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.1478, allocations: 3.938 kB / 369.8 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.1489, allocations: 0.7528 MB / 370.5 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1489, allocations: 0 / 370.5 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.1491, allocations: 39.91 kB / 370.6 MB, free: 228 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002048/0.1493, allocations: 64.81 kB / 370.6 MB, free: 160 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.1493, allocations: 15.97 kB / 370.7 MB, free: 144 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2371/0.3865, allocations: 1.981 MB / 372.6 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3865, allocations: 1.016 kB / 372.6 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007777/0.3873, allocations: 462.2 kB / 373.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.446e-05/0.3874, allocations: 99.62 kB / 373.2 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.3874, allocations: 6.25 kB / 373.2 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.3876, allocations: 13.91 kB / 373.2 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/0.3877, allocations: 21.27 kB / 373.2 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.3877, allocations: 6.062 kB / 373.2 MB, free: 18.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.3879, allocations: 141.4 kB / 373.4 MB, free: 18.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3879, allocations: 1.156 kB / 373.4 MB, free: 18.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000467/0.3883, allocations: 81.72 kB / 373.4 MB, free: 18.35 MB / 302.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.0001417/0.3885, allocations: 100.2 kB / 373.5 MB, free: 18.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007507/0.3892, allocations: 375 kB / 373.9 MB, free: 18.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3893, allocations: 2.781 kB / 373.9 MB, free: 18.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004496/0.3897, allocations: 262.1 kB / 374.2 MB, free: 18.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004654/0.3902, allocations: 49.25 kB / 374.2 MB, free: 18.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.3916, allocations: 0.891 MB / 375.1 MB, free: 17.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.3919, allocations: 0.7706 MB / 375.9 MB, free: 16.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.05e-05/0.392, allocations: 20.72 kB / 375.9 MB, free: 16.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.3921, allocations: 22.03 kB / 375.9 MB, free: 16.78 MB / 302.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3921, allocations: 0 / 375.9 MB, free: 16.78 MB / 302.1 MB Notification: Performance of Templates: time 0.009808/0.4019, allocations: 3.182 MB / 379.1 MB, free: 16.6 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches