Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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: 97.61 kB / 16.93 MB, free: 5.984 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.00183/0.00183, allocations: 177.6 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008349/0.0008351, allocations: 8 kB / 280.7 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.109, allocations: 47.58 MB / 328.3 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002757/0.1118, allocations: 2.214 MB / 330.5 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.1131, allocations: 0.6558 MB / 331.2 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002626/0.1134, allocations: 7.938 kB / 331.2 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.1135, allocations: 31.75 kB / 331.2 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.1138, allocations: 99.72 kB / 331.3 MB, free: 1.078 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.1141, allocations: 59.92 kB / 331.4 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004577/0.1146, allocations: 236 kB / 331.6 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.1148, allocations: 106.2 kB / 331.7 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.115, allocations: 107.6 kB / 331.8 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.1153, allocations: 127.5 kB / 331.9 MB, free: 468 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.495e-05/0.1153, allocations: 16 kB / 332 MB, free: 452 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.217e-05/0.1154, allocations: 16 kB / 332 MB, free: 436 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.1154, allocations: 47.81 kB / 332 MB, free: 388 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.961e-05/0.1155, allocations: 81.52 kB / 332.1 MB, free: 300 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.1158, allocations: 263.5 kB / 332.4 MB, free: 36 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.1158, allocations: 0 / 332.4 MB, free: 36 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.1158, allocations: 4 kB / 332.4 MB, free: 32 kB / 270.1 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.1158, allocations: 0 / 332.4 MB, free: 32 kB / 270.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.0008886/0.1167, allocations: 0.5419 MB / 332.9 MB, free: 15.44 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1168, allocations: 8.031 kB / 332.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.441e-05/0.1169, allocations: 35.56 kB / 333 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.1172, allocations: 254.4 kB / 333.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.1172, allocations: 24.52 kB / 333.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.546e-05/0.1173, allocations: 35.94 kB / 333.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000546/0.1179, allocations: 236.9 kB / 333.5 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1179, allocations: 0 / 333.5 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.1179, allocations: 20 kB / 333.5 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.1179, allocations: 8 kB / 333.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.1184, allocations: 186.2 kB / 333.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.12, allocations: 1.025 MB / 334.7 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.1204, allocations: 333.4 kB / 335.1 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.1205, allocations: 4.188 kB / 335.1 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.1205, allocations: 34.75 kB / 335.1 MB, free: 13.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.1205, allocations: 0 / 335.1 MB, free: 13.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001579/0.1221, allocations: 0.7775 MB / 335.9 MB, free: 12.25 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.1222, allocations: 59.36 kB / 335.9 MB, free: 12.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.1224, allocations: 186.3 kB / 336.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.1224, allocations: 33.64 kB / 336.1 MB, free: 11.94 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.1226, allocations: 172.2 kB / 336.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.249e-05/0.1227, allocations: 94.64 kB / 336.4 MB, free: 11.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/0.1227, allocations: 11.94 kB / 336.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1229, allocations: 334.8 kB / 336.7 MB, free: 11.33 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.123, allocations: 72.53 kB / 336.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.1232, allocations: 94.8 kB / 336.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.1234, allocations: 91.98 kB / 337 MB, free: 11.07 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1234, allocations: 0 / 337 MB, free: 11.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005118/0.1239, allocations: 318.1 kB / 337.3 MB, free: 10.75 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.1239, allocations: 8 kB / 337.3 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1239, allocations: 0 / 337.3 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003024/0.1242, allocations: 88.8 kB / 337.4 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.1244, allocations: 47.91 kB / 337.4 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.1266, allocations: 1.932 MB / 339.4 MB, free: 8.539 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.1267, allocations: 8.031 kB / 339.4 MB, free: 8.531 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.1267, allocations: 8 kB / 339.4 MB, free: 8.523 MB / 286.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.0001675/0.1269, allocations: 141.8 kB / 339.5 MB, free: 8.375 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.127, allocations: 15.81 kB / 339.5 MB, free: 8.359 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.127, allocations: 29.86 kB / 339.6 MB, free: 8.332 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.127, allocations: 4 kB / 339.6 MB, free: 8.328 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.127, allocations: 4 kB / 339.6 MB, free: 8.324 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.127, allocations: 4.062 kB / 339.6 MB, free: 8.32 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.1281, allocations: 0.7528 MB / 340.3 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.1282, allocations: 4 kB / 340.3 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.1283, allocations: 39.97 kB / 340.4 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001928/0.1285, allocations: 68.8 kB / 340.5 MB, free: 7.395 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.1286, allocations: 4 kB / 340.5 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.1302, allocations: 1.82 MB / 342.3 MB, free: 5.438 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1302, allocations: 0 / 342.3 MB, free: 5.438 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006641/0.1309, allocations: 460.1 kB / 342.7 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.131, allocations: 108.8 kB / 342.8 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.131, allocations: 4 kB / 342.8 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.1312, allocations: 11.98 kB / 342.8 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.086e-05/0.1312, allocations: 27.92 kB / 342.9 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.1313, allocations: 8 kB / 342.9 MB, free: 4.793 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.1314, allocations: 140.3 kB / 343 MB, free: 4.656 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1314, allocations: 3.938 kB / 343 MB, free: 4.652 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004529/0.1319, allocations: 84 kB / 343.1 MB, free: 4.57 MB / 286.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.0001284/0.132, allocations: 103.2 kB / 343.2 MB, free: 4.461 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006434/0.1326, allocations: 366.4 kB / 343.6 MB, free: 4.09 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1327, allocations: 0 / 343.6 MB, free: 4.09 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000396/0.1331, allocations: 254.5 kB / 343.8 MB, free: 3.828 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.1334, allocations: 35.97 kB / 343.8 MB, free: 3.793 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.1346, allocations: 0.9447 MB / 344.8 MB, free: 2.824 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.1349, allocations: 0.7713 MB / 345.6 MB, free: 2.027 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.313e-05/0.135, allocations: 22.28 kB / 345.6 MB, free: 2.004 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.135, allocations: 23.38 kB / 345.6 MB, free: 1.98 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.135, allocations: 0 / 345.6 MB, free: 1.98 MB / 286.1 MB Notification: Performance of Templates: time 0.005666/0.1407, allocations: 2.877 MB / 348.5 MB, free: 15.11 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches