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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 95.88 kB / 16.95 MB, free: 6.457 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.001143/0.001143, allocations: 182.5 kB / 17.84 MB, free: 6.008 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.534/1.534, allocations: 205.4 MB / 224 MB, free: 13.15 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.0004567/0.0004567, allocations: 8 kB / 280.9 MB, free: 3.641 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1041, allocations: 47.59 MB / 328.5 MB, free: 3.98 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002769/0.1069, allocations: 2.337 MB / 330.8 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.108, allocations: 0.6362 MB / 331.4 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.1081, allocations: 8 kB / 331.4 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.1083, allocations: 31.75 kB / 331.5 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.1084, allocations: 75.38 kB / 331.5 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.1086, allocations: 59.88 kB / 331.6 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003091/0.1089, allocations: 319 kB / 331.9 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.1091, allocations: 110.2 kB / 332 MB, free: 400 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1093, allocations: 103.6 kB / 332.1 MB, free: 296 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.1094, allocations: 127.4 kB / 332.2 MB, free: 168 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.1095, allocations: 16 kB / 332.3 MB, free: 152 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.823e-05/0.1095, allocations: 16 kB / 332.3 MB, free: 136 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.1096, allocations: 47.83 kB / 332.3 MB, free: 88 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.216e-05/0.1097, allocations: 85.62 kB / 332.4 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.1099, allocations: 267.5 kB / 332.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.1099, allocations: 0 / 332.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1099, allocations: 0 / 332.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.11, allocations: 0 / 332.7 MB, free: 15.73 MB / 286.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.0007774/0.1107, allocations: 0.5418 MB / 333.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1108, allocations: 12.02 kB / 333.2 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.256e-05/0.1109, allocations: 62.38 kB / 333.3 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.1109, allocations: 31.72 kB / 333.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.1112, allocations: 258.4 kB / 333.6 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.1113, allocations: 24.56 kB / 333.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.1113, allocations: 24 kB / 333.6 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000444/0.1118, allocations: 252.9 kB / 333.9 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1118, allocations: 4 kB / 333.9 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.1118, allocations: 8 kB / 333.9 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.1118, allocations: 8 kB / 333.9 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/0.1122, allocations: 182.2 kB / 334.1 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.1137, allocations: 1.029 MB / 335.1 MB, free: 13.13 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.1141, allocations: 325.5 kB / 335.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.1143, allocations: 157.1 kB / 335.6 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.1144, allocations: 4.188 kB / 335.6 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1144, allocations: 30.75 kB / 335.6 MB, free: 12.57 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.303e-06/0.1144, allocations: 0 / 335.6 MB, free: 12.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.00144/0.1159, allocations: 0.7904 MB / 336.4 MB, free: 11.72 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.1159, allocations: 55.41 kB / 336.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.1161, allocations: 190.3 kB / 336.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1161, allocations: 29.7 kB / 336.6 MB, free: 11.42 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.761e-05/0.1162, allocations: 172.2 kB / 336.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/0.1163, allocations: 94.64 kB / 336.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.1163, allocations: 4 kB / 336.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1164, allocations: 330.8 kB / 337.2 MB, free: 10.82 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.1166, allocations: 80.53 kB / 337.3 MB, free: 10.74 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.1167, allocations: 94.8 kB / 337.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.1169, allocations: 83.98 kB / 337.5 MB, free: 10.56 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1169, allocations: 0 / 337.5 MB, free: 10.56 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004979/0.1174, allocations: 334 kB / 337.8 MB, free: 10.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1174, allocations: 4 kB / 337.8 MB, free: 10.22 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1174, allocations: 0 / 337.8 MB, free: 10.22 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002478/0.1177, allocations: 88.75 kB / 337.9 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.1179, allocations: 47.97 kB / 337.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.1198, allocations: 1.901 MB / 339.9 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.1199, allocations: 8.031 kB / 339.9 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.1199, allocations: 8 kB / 339.9 MB, free: 8.035 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.0001442/0.1201, allocations: 150 kB / 340 MB, free: 7.879 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.1201, allocations: 15.81 kB / 340 MB, free: 7.863 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.969e-05/0.1202, allocations: 29.86 kB / 340.1 MB, free: 7.836 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1202, allocations: 4 kB / 340.1 MB, free: 7.832 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1202, allocations: 0 / 340.1 MB, free: 7.832 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1202, allocations: 4 kB / 340.1 MB, free: 7.828 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.1212, allocations: 0.7487 MB / 340.8 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1212, allocations: 0 / 340.8 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.1214, allocations: 35.98 kB / 340.8 MB, free: 6.984 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.1216, allocations: 84.67 kB / 340.9 MB, free: 6.898 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.1216, allocations: 4 kB / 340.9 MB, free: 6.895 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/0.1233, allocations: 1.788 MB / 342.7 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1233, allocations: 0 / 342.7 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006549/0.124, allocations: 463.8 kB / 343.2 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.1241, allocations: 96.89 kB / 343.3 MB, free: 4.387 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.1241, allocations: 11.94 kB / 343.3 MB, free: 4.375 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.1243, allocations: 12 kB / 343.3 MB, free: 4.363 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.12e-05/0.1243, allocations: 27.91 kB / 343.3 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.1244, allocations: 8 kB / 343.3 MB, free: 4.328 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.1245, allocations: 144.3 kB / 343.5 MB, free: 4.188 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1245, allocations: 0 / 343.5 MB, free: 4.188 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004253/0.1249, allocations: 80 kB / 343.5 MB, free: 4.109 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.0009825/0.1259, allocations: 0.9946 MB / 344.5 MB, free: 3.086 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006549/0.1266, allocations: 374.4 kB / 344.9 MB, free: 2.707 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1266, allocations: 0 / 344.9 MB, free: 2.707 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004166/0.127, allocations: 258.5 kB / 345.2 MB, free: 2.441 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.1274, allocations: 60.31 kB / 345.2 MB, free: 2.383 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.1301, allocations: 1.777 MB / 347 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.1305, allocations: 0.7675 MB / 347.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.304e-05/0.1306, allocations: 22.28 kB / 347.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.1307, allocations: 79.41 kB / 347.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1307, allocations: 4 kB / 347.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.1482, allocations: 5.133 MB / 353 MB, free: 10.52 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.1484, allocations: 209.9 kB / 353.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.083, allocations: 3.938 kB / 353.2 MB, free: 10.28 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat does not exist to compare? outputFormat=mat