Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009597/0.0009598, allocations: 97.97 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001003/0.001004, allocations: 196.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.588/1.588, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002497/0.0002497, allocations: 4 kB / 306.8 MB, free: 1.488 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1176, allocations: 51.49 MB / 358.3 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005334/0.123, allocations: 5.012 MB / 363.3 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002584/0.1256, allocations: 1.173 MB / 364.5 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004282/0.1261, allocations: 19.94 kB / 364.5 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.1264, allocations: 127 kB / 364.6 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004907/0.1269, allocations: 230.1 kB / 364.9 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.1273, allocations: 171.7 kB / 365 MB, free: 7.242 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009781/0.1283, allocations: 0.9816 MB / 366 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006215/0.1289, allocations: 400.2 kB / 366.4 MB, free: 5.852 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004159/0.1293, allocations: 338.8 kB / 366.7 MB, free: 5.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004795/0.1298, allocations: 382.2 kB / 367.1 MB, free: 5.145 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.699e-05/0.1299, allocations: 52 kB / 367.2 MB, free: 5.094 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.13, allocations: 52 kB / 367.2 MB, free: 5.043 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.1302, allocations: 159.3 kB / 367.4 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.1304, allocations: 197.3 kB / 367.5 MB, free: 4.688 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000677/0.131, allocations: 0.8103 MB / 368.4 MB, free: 3.875 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.131, allocations: 3.938 kB / 368.4 MB, free: 3.871 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1311, allocations: 0 / 368.4 MB, free: 3.871 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.1311, allocations: 0 / 368.4 MB, free: 3.871 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001655/0.1327, allocations: 1.088 MB / 369.5 MB, free: 2.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.1328, allocations: 8.031 kB / 369.5 MB, free: 2.723 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001618/0.133, allocations: 147.9 kB / 369.6 MB, free: 2.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.1331, allocations: 102.8 kB / 369.7 MB, free: 2.469 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/0.1337, allocations: 446.1 kB / 370.1 MB, free: 1.992 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-05/0.1338, allocations: 66 kB / 370.2 MB, free: 1.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.1339, allocations: 95.91 kB / 370.3 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.1353, allocations: 0.8635 MB / 371.2 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.1353, allocations: 0 / 371.2 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.1354, allocations: 44 kB / 371.2 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.1354, allocations: 24 kB / 371.2 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009602/0.1364, allocations: 0.566 MB / 371.8 MB, free: 320 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2665/0.4029, allocations: 2.966 MB / 374.8 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000593/0.4036, allocations: 306.9 kB / 375.1 MB, free: 18.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/0.404, allocations: 272.7 kB / 375.3 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.4041, allocations: 8.547 kB / 375.3 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.4041, allocations: 42.03 kB / 375.4 MB, free: 18.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.735e-06/0.4041, allocations: 0 / 375.4 MB, free: 18.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001668/0.4058, allocations: 0.664 MB / 376 MB, free: 17.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.4059, allocations: 55.53 kB / 376.1 MB, free: 17.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006285/0.4065, allocations: 0.5095 MB / 376.6 MB, free: 17.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.4065, allocations: 31.89 kB / 376.6 MB, free: 17.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/0.4068, allocations: 486.4 kB / 377.1 MB, free: 17.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.979e-05/0.4069, allocations: 159.9 kB / 377.3 MB, free: 17.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.407, allocations: 15.94 kB / 377.3 MB, free: 17.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.4071, allocations: 364.7 kB / 377.6 MB, free: 16.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.4074, allocations: 173 kB / 377.8 MB, free: 16.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/0.4079, allocations: 451.5 kB / 378.2 MB, free: 16.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004051/0.4083, allocations: 240.5 kB / 378.5 MB, free: 16.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.4083, allocations: 3.031 kB / 378.5 MB, free: 16.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001339/0.4096, allocations: 0.7562 MB / 379.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.4097, allocations: 12.39 kB / 379.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/0.4097, allocations: 11.36 kB / 379.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/0.4101, allocations: 85.53 kB / 379.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007628/0.4108, allocations: 199.6 kB / 379.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.4129, allocations: 1.799 MB / 381.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006316/0.4136, allocations: 89.64 kB / 381.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/0.4137, allocations: 37.3 kB / 381.5 MB, free: 14.1 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0003562/0.414, allocations: 211.5 kB / 381.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.4141, allocations: 57.5 kB / 381.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.4143, allocations: 70.58 kB / 381.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.4143, allocations: 4.844 kB / 381.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-05/0.4143, allocations: 1.375 kB / 381.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.4143, allocations: 8.172 kB / 381.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.4154, allocations: 0.6497 MB / 382.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4154, allocations: 2.188 kB / 382.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/0.4159, allocations: 100.4 kB / 382.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002574/0.4162, allocations: 79.75 kB / 382.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.4162, allocations: 7.828 kB / 382.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.4179, allocations: 1.784 MB / 384.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4179, allocations: 0 / 384.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.4189, allocations: 0.6636 MB / 385.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.4191, allocations: 134.9 kB / 385.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-05/0.4191, allocations: 8.812 kB / 385.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.4195, allocations: 53.72 kB / 385.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.4197, allocations: 32.72 kB / 385.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.4197, allocations: 13.28 kB / 385.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005029/0.4202, allocations: 339.7 kB / 385.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.4202, allocations: 5.094 kB / 385.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001185/0.4214, allocations: 251.6 kB / 385.9 MB, free: 11.09 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,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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.001397/0.4228, allocations: 1.222 MB / 387.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.4241, allocations: 0.5845 MB / 387.7 MB, free: 9.918 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4241, allocations: 3 kB / 387.7 MB, free: 9.918 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005003/0.4246, allocations: 324.6 kB / 388 MB, free: 9.727 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007097/0.4253, allocations: 116.4 kB / 388.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007448/0.4328, allocations: 3.85 MB / 392 MB, free: 7.277 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006345/0.4334, allocations: 0.9274 MB / 392.9 MB, free: 6.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004888/0.4339, allocations: 69.7 kB / 393 MB, free: 6.551 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/0.4343, allocations: 262.1 kB / 393.3 MB, free: 6.348 MB / 302.1 MB Notification: Performance of SimCode: time 1.673e-06/0.4343, allocations: 3.938 kB / 393.3 MB, free: 6.344 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04485/0.4792, allocations: 11.8 MB / 405.1 MB, free: 14.97 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003671/0.4796, allocations: 209.1 kB / 405.3 MB, free: 14.73 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.207/2.686, allocations: 4 kB / 405.3 MB, free: 14.73 MB / 318.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat does not exist to compare? outputFormat=mat