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.001334/0.001334, allocations: 96.3 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001609/0.001609, allocations: 208.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.661/1.661, allocations: 227.3 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002611/0.0002613, allocations: 8 kB / 306.7 MB, free: 1.488 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1317, allocations: 51.49 MB / 358.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005561/0.1373, allocations: 4.587 MB / 362.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003002/0.1404, allocations: 1.236 MB / 364 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007081/0.1411, allocations: 23.94 kB / 364 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.1414, allocations: 119.1 kB / 364.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008112/0.1422, allocations: 331 kB / 364.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.1427, allocations: 163.8 kB / 364.6 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.1438, allocations: 0.7269 MB / 365.4 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007111/0.1445, allocations: 404.2 kB / 365.8 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005014/0.145, allocations: 334.8 kB / 366.1 MB, free: 6.059 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005119/0.1455, allocations: 390.2 kB / 366.5 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.1456, allocations: 56 kB / 366.5 MB, free: 5.621 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.1458, allocations: 52 kB / 366.6 MB, free: 5.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.1459, allocations: 147.4 kB / 366.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.1461, allocations: 201.2 kB / 366.9 MB, free: 5.223 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000728/0.1468, allocations: 0.8025 MB / 367.7 MB, free: 4.418 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1468, allocations: 0 / 367.7 MB, free: 4.418 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.1469, allocations: 0 / 367.7 MB, free: 4.418 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.1469, allocations: 0 / 367.7 MB, free: 4.418 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.001928/0.1488, allocations: 1.088 MB / 368.8 MB, free: 3.277 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.1489, allocations: 12.03 kB / 368.8 MB, free: 3.266 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/0.1491, allocations: 144 kB / 369 MB, free: 3.117 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.1492, allocations: 106.8 kB / 369.1 MB, free: 3.012 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006424/0.1499, allocations: 442.1 kB / 369.5 MB, free: 2.539 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.904e-05/0.15, allocations: 74 kB / 369.6 MB, free: 2.469 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.1501, allocations: 91.91 kB / 369.7 MB, free: 2.379 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.1515, allocations: 0.8557 MB / 370.5 MB, free: 1.496 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.1516, allocations: 0 / 370.5 MB, free: 1.496 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.281e-05/0.1517, allocations: 43.98 kB / 370.6 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.1517, allocations: 24 kB / 370.6 MB, free: 1.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009582/0.1526, allocations: 0.5661 MB / 371.1 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2619/0.4145, allocations: 2.971 MB / 374.1 MB, free: 18.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/0.4151, allocations: 297.8 kB / 374.4 MB, free: 18.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.4151, allocations: 5.344 kB / 374.4 MB, free: 18.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.4151, allocations: 38.94 kB / 374.4 MB, free: 18.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 3.517e-06/0.4151, allocations: 0 / 374.4 MB, free: 18.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001624/0.4168, allocations: 0.6615 MB / 375.1 MB, free: 17.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.4168, allocations: 59.91 kB / 375.2 MB, free: 17.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007092/0.4175, allocations: 0.5048 MB / 375.7 MB, free: 17.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.4176, allocations: 39.55 kB / 375.7 MB, free: 17.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.4178, allocations: 489.9 kB / 376.2 MB, free: 17.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.4179, allocations: 158.7 kB / 376.3 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.418, allocations: 16.88 kB / 376.4 MB, free: 17.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4181, allocations: 367.9 kB / 376.7 MB, free: 16.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/0.4184, allocations: 169.9 kB / 376.9 MB, free: 16.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/0.4188, allocations: 448.1 kB / 377.3 MB, free: 16.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.4192, allocations: 239.2 kB / 377.6 MB, free: 16.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.4192, allocations: 2.75 kB / 377.6 MB, free: 16.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00124/0.4205, allocations: 0.7605 MB / 378.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.4205, allocations: 10.56 kB / 378.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.4205, allocations: 9.656 kB / 378.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003302/0.4209, allocations: 86.2 kB / 378.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006997/0.4216, allocations: 200.6 kB / 378.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.4234, allocations: 1.831 MB / 380.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006215/0.4241, allocations: 90.77 kB / 380.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/0.4241, allocations: 32.41 kB / 380.6 MB, free: 14.25 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.0003474/0.4245, allocations: 215.1 kB / 380.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.885e-05/0.4246, allocations: 59.25 kB / 380.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.4247, allocations: 61.75 kB / 380.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.4247, allocations: 4.219 kB / 380.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/0.4247, allocations: 1.734 kB / 380.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.4247, allocations: 7.109 kB / 380.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009415/0.4257, allocations: 0.6448 MB / 381.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4257, allocations: 1.156 kB / 381.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/0.4261, allocations: 107.9 kB / 381.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002331/0.4264, allocations: 64.09 kB / 381.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.4264, allocations: 11.89 kB / 381.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.4279, allocations: 1.815 MB / 383.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4279, allocations: 0.75 kB / 383.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.4291, allocations: 0.6624 MB / 384.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.4292, allocations: 135.3 kB / 384.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.249e-05/0.4293, allocations: 7.312 kB / 384.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.4297, allocations: 54.02 kB / 384.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.4298, allocations: 36.77 kB / 384.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.4298, allocations: 9.562 kB / 384.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004242/0.4303, allocations: 343.8 kB / 384.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4303, allocations: 0 / 384.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001041/0.4313, allocations: 244.7 kB / 385 MB, free: 11.24 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.001328/0.4326, allocations: 1.215 MB / 386.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.4338, allocations: 0.593 MB / 386.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4339, allocations: 1.578 kB / 386.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005101/0.4344, allocations: 323 kB / 387.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/0.435, allocations: 112 kB / 387.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006677/0.4416, allocations: 9.888 MB / 397.1 MB, free: 1.391 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.4421, allocations: 0.9444 MB / 398.1 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004166/0.4426, allocations: 69.69 kB / 398.2 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.4429, allocations: 261.8 kB / 398.4 MB, free: 468 kB / 302.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4429, allocations: 0 / 398.4 MB, free: 468 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.4711, allocations: 11.76 MB / 410.2 MB, free: 9.656 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.4714, allocations: 215.5 kB / 410.4 MB, free: 9.406 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/2.646, allocations: 0 / 410.4 MB, free: 9.406 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