Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Filter.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.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",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.0009167/0.0009167, 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.0009518/0.0009518, 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.625/1.625, 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.0004589/0.0004589, allocations: 12.94 kB / 280.9 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09868/0.09915, allocations: 47.59 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.001976/0.1012, allocations: 1.632 MB / 330.1 MB, free: 2.344 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005364/0.1066, allocations: 3.577 MB / 333.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.1067, allocations: 11.88 kB / 333.7 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004624/0.1072, allocations: 155.3 kB / 333.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.1074, allocations: 35.64 kB / 333.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003819/0.1112, allocations: 1.502 MB / 335.4 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005547/0.1117, allocations: 426.8 kB / 335.8 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.1119, allocations: 41.06 kB / 335.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.1121, allocations: 159.3 kB / 336 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.1123, allocations: 155.3 kB / 336.1 MB, free: 12.28 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.1124, allocations: 12 kB / 336.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.1145, allocations: 1.413 MB / 337.5 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.1147, allocations: 111.6 kB / 337.7 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.1148, allocations: 77.52 kB / 337.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.1166, allocations: 1.497 MB / 339.2 MB, free: 9.164 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1166, allocations: 0 / 339.2 MB, free: 9.164 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1166, allocations: 0 / 339.2 MB, free: 9.164 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.1166, allocations: 0 / 339.2 MB, free: 9.164 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001491/0.1181, allocations: 0.8373 MB / 340.1 MB, free: 8.277 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.1182, allocations: 11.97 kB / 340.1 MB, free: 8.266 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.598e-05/0.1182, allocations: 50.55 kB / 340.1 MB, free: 8.207 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.123e-05/0.1183, allocations: 47.44 kB / 340.2 MB, free: 8.16 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.1188, allocations: 333.3 kB / 340.5 MB, free: 7.793 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1188, allocations: 16.28 kB / 340.5 MB, free: 7.777 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.8e-05/0.1188, allocations: 27.91 kB / 340.5 MB, free: 7.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/0.1193, allocations: 311.1 kB / 340.8 MB, free: 7.402 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1193, allocations: 3.938 kB / 340.8 MB, free: 7.398 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.1194, allocations: 8 kB / 340.9 MB, free: 7.391 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1194, allocations: 7.938 kB / 340.9 MB, free: 7.383 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.1197, allocations: 155.8 kB / 341 MB, free: 7.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.1208, allocations: 0.672 MB / 341.7 MB, free: 6.508 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007278/0.1215, allocations: 318.3 kB / 342 MB, free: 6.191 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.1217, allocations: 109.2 kB / 342.1 MB, free: 6.082 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.1218, allocations: 4.188 kB / 342.1 MB, free: 6.078 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.1218, allocations: 50.67 kB / 342.2 MB, free: 6.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.1218, allocations: 0 / 342.2 MB, free: 6.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.000686/0.1225, allocations: 386.3 kB / 342.5 MB, free: 5.637 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001783/0.1227, allocations: 367.8 kB / 342.9 MB, free: 5.191 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.1231, allocations: 405.8 kB / 343.3 MB, free: 4.789 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.1232, allocations: 33.7 kB / 343.3 MB, free: 4.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.1233, allocations: 196.8 kB / 343.5 MB, free: 4.555 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.043e-05/0.1234, allocations: 90.66 kB / 343.6 MB, free: 4.465 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/0.1234, allocations: 8 kB / 343.6 MB, free: 4.457 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1236, allocations: 350.8 kB / 344 MB, free: 4.105 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.1239, allocations: 212.2 kB / 344.2 MB, free: 3.898 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.1243, allocations: 318.4 kB / 344.5 MB, free: 3.547 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.1246, allocations: 245.6 kB / 344.7 MB, free: 3.309 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1247, allocations: 3.938 kB / 344.7 MB, free: 3.305 MB / 286.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001025/0.1257, allocations: 0.646 MB / 345.4 MB, free: 2.641 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1257, allocations: 4 kB / 345.4 MB, free: 2.637 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/0.1257, allocations: 11.98 kB / 345.4 MB, free: 2.625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004136/0.1262, allocations: 130.5 kB / 345.5 MB, free: 2.488 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.1264, allocations: 59.91 kB / 345.6 MB, free: 2.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003394/0.1298, allocations: 4.231 MB / 349.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.1301, allocations: 47.55 kB / 349.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.1301, allocations: 12 kB / 349.8 MB, free: 13.74 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002212/0.1303, allocations: 173.8 kB / 350 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/0.1304, allocations: 35.53 kB / 350.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.028e-05/0.1305, allocations: 51.78 kB / 350.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1305, allocations: 4 kB / 350.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1305, allocations: 3.953 kB / 350.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1305, allocations: 3.984 kB / 350.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.131, allocations: 349.2 kB / 350.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.131, allocations: 0 / 350.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.1313, allocations: 43.91 kB / 350.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1313, allocations: 0 / 350.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.1313, allocations: 11.98 kB / 350.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1313, allocations: 4 kB / 350.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1313, allocations: 4 kB / 350.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007528/0.1321, allocations: 0.5103 MB / 351 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.1322, allocations: 108.6 kB / 351.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.1322, allocations: 12 kB / 351.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.1324, allocations: 23.98 kB / 351.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.1325, allocations: 15.97 kB / 351.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.1325, allocations: 11.89 kB / 351.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002898/0.1328, allocations: 267.1 kB / 351.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1328, allocations: 0 / 351.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002255/0.1351, allocations: 0.6523 MB / 352.1 MB, free: 11.38 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002588/0.1376, allocations: 1.601 MB / 353.7 MB, free: 9.754 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.1389, allocations: 0.9492 MB / 354.7 MB, free: 8.719 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1389, allocations: 0 / 354.7 MB, free: 8.719 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.1392, allocations: 131.8 kB / 354.8 MB, free: 8.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005699/0.1397, allocations: 106.2 kB / 354.9 MB, free: 8.488 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004434/0.1442, allocations: 3.023 MB / 357.9 MB, free: 5.402 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.1446, allocations: 0.838 MB / 358.8 MB, free: 4.535 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001895/0.1448, allocations: 70.91 kB / 358.8 MB, free: 4.469 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.145, allocations: 131.4 kB / 359 MB, free: 4.34 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.145, allocations: 0 / 359 MB, free: 4.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03659/0.1816, allocations: 16.67 MB / 375.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/0.1818, allocations: 224.7 kB / 375.8 MB, free: 3.41 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/2.621, allocations: 3.938 kB / 375.8 MB, free: 3.406 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_Filter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat does not exist to compare? outputFormat=mat