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.001228/0.001227, allocations: 94.7 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 205.8 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002232/0.0002232, allocations: 8 kB / 306.6 MB, free: 1.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1208, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003426/0.1243, allocations: 2.268 MB / 360.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1255, allocations: 0.651 MB / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.1257, allocations: 8 kB / 361 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.681e-05/0.1257, allocations: 31.75 kB / 361 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.126, allocations: 95.72 kB / 361.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.1262, allocations: 63.86 kB / 361.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.1265, allocations: 239.9 kB / 361.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.1268, allocations: 102.2 kB / 361.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.1269, allocations: 111.6 kB / 361.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.1271, allocations: 127.5 kB / 361.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.1272, allocations: 16 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.151e-05/0.1272, allocations: 16 kB / 361.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.1273, allocations: 55.81 kB / 361.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.918e-05/0.1274, allocations: 81.52 kB / 361.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.1276, allocations: 259.5 kB / 362.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1277, allocations: 0 / 362.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1277, allocations: 0 / 362.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1277, allocations: 0 / 362.2 MB, free: 9.805 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.0008854/0.1286, allocations: 0.5457 MB / 362.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1286, allocations: 8.031 kB / 362.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.612e-05/0.1287, allocations: 31.62 kB / 362.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.129, allocations: 262.5 kB / 363 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.129, allocations: 20.56 kB / 363 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.1291, allocations: 31.95 kB / 363.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.1295, allocations: 244.9 kB / 363.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1295, allocations: 0 / 363.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.1296, allocations: 8 kB / 363.3 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.1296, allocations: 8 kB / 363.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.1299, allocations: 186.2 kB / 363.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.1314, allocations: 1.029 MB / 364.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.1318, allocations: 332.6 kB / 364.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1318, allocations: 4.188 kB / 364.8 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.1319, allocations: 34.75 kB / 364.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.1319, allocations: 0 / 364.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001475/0.1333, allocations: 0.7793 MB / 365.7 MB, free: 6.027 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.1334, allocations: 59.41 kB / 365.7 MB, free: 5.957 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.1336, allocations: 190.3 kB / 365.9 MB, free: 5.758 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.1336, allocations: 33.7 kB / 365.9 MB, free: 5.719 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.465e-05/0.1337, allocations: 168.2 kB / 366.1 MB, free: 5.551 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.831e-05/0.1338, allocations: 98.58 kB / 366.2 MB, free: 5.453 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.1338, allocations: 4 kB / 366.2 MB, free: 5.449 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.134, allocations: 330.8 kB / 366.5 MB, free: 5.117 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1341, allocations: 76.53 kB / 366.6 MB, free: 5.043 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.1343, allocations: 103.6 kB / 366.7 MB, free: 4.938 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.1344, allocations: 84.52 kB / 366.8 MB, free: 4.855 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1344, allocations: 0 / 366.8 MB, free: 4.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005058/0.1349, allocations: 330 kB / 367.1 MB, free: 4.523 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.135, allocations: 4 kB / 367.1 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.135, allocations: 0 / 367.1 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002568/0.1352, allocations: 84.81 kB / 367.2 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.1354, allocations: 55.91 kB / 367.2 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/0.1374, allocations: 1.917 MB / 369.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.1376, allocations: 11.97 kB / 369.2 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.1376, allocations: 8 kB / 369.2 MB, free: 2.309 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 (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.0001533/0.1377, allocations: 141.8 kB / 369.3 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.1378, allocations: 23.77 kB / 369.3 MB, free: 2.137 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.1378, allocations: 29.86 kB / 369.4 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1379, allocations: 0 / 369.4 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.1379, allocations: 4 kB / 369.4 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1379, allocations: 0 / 369.4 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.1389, allocations: 0.7528 MB / 370.1 MB, free: 1.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1389, allocations: 0 / 370.1 MB, free: 1.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.1391, allocations: 39.97 kB / 370.2 MB, free: 1.254 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001851/0.1393, allocations: 80.64 kB / 370.2 MB, free: 1.172 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.1393, allocations: 8 kB / 370.3 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2546/0.3939, allocations: 1.804 MB / 372.1 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3939, allocations: 0.6562 kB / 372.1 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.3951, allocations: 462 kB / 372.5 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.3952, allocations: 97.98 kB / 372.6 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.3953, allocations: 6.25 kB / 372.6 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.3955, allocations: 14.56 kB / 372.6 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.3956, allocations: 25.19 kB / 372.7 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.3957, allocations: 7.125 kB / 372.7 MB, free: 18.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002202/0.3959, allocations: 138.6 kB / 372.8 MB, free: 18.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3959, allocations: 4.125 kB / 372.8 MB, free: 18.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007197/0.3966, allocations: 77.03 kB / 372.9 MB, free: 18.41 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 (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 0.0002077/0.3969, allocations: 101.7 kB / 373 MB, free: 18.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.398, allocations: 370.8 kB / 373.3 MB, free: 18.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.398, allocations: 0 / 373.3 MB, free: 18.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005842/0.3986, allocations: 261 kB / 373.6 MB, free: 18.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.399, allocations: 41.7 kB / 373.6 MB, free: 18.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.4011, allocations: 0.9397 MB / 374.6 MB, free: 17.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.4016, allocations: 0.7773 MB / 375.3 MB, free: 16.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001657/0.4018, allocations: 21.25 kB / 375.4 MB, free: 16.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/0.4018, allocations: 17.38 kB / 375.4 MB, free: 16.82 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4019, allocations: 0.8438 kB / 375.4 MB, free: 16.82 MB / 302.1 MB Notification: Performance of Templates: time 0.009983/0.4118, allocations: 2.883 MB / 378.3 MB, free: 16.65 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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches