Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001568, allocations: 186.1 kB / 15.81 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001171, allocations: 94.86 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1009/0.1009, allocations: 12.6 MB / 331.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005895/0.0005897, allocations: 13.53 kB / 392.1 MB, free: 54.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1041, allocations: 50.37 MB / 442.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2): time 0.002157/0.1063, allocations: 1.424 MB / 443.9 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.1077, allocations: 0.613 MB / 444.5 MB, free: 8.746 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.1078, allocations: 7.938 kB / 444.5 MB, free: 8.738 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.108, allocations: 15.8 kB / 444.5 MB, free: 8.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.1082, allocations: 35.94 kB / 444.6 MB, free: 8.688 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.1088, allocations: 103.7 kB / 444.7 MB, free: 8.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.109, allocations: 99.7 kB / 444.8 MB, free: 8.488 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1091, allocations: 21.55 kB / 444.8 MB, free: 8.465 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.1093, allocations: 55.83 kB / 444.9 MB, free: 8.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.1095, allocations: 91.64 kB / 444.9 MB, free: 8.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.902e-05/0.1095, allocations: 12 kB / 445 MB, free: 8.309 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.34e-05/0.1096, allocations: 8 kB / 445 MB, free: 8.301 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.809e-05/0.1097, allocations: 55.81 kB / 445 MB, free: 8.246 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.966e-05/0.1097, allocations: 61.56 kB / 445.1 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1099, allocations: 132.5 kB / 445.2 MB, free: 8.051 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1099, allocations: 0 / 445.2 MB, free: 8.051 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.11, allocations: 0 / 445.2 MB, free: 8.051 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.11, allocations: 0 / 445.2 MB, free: 8.051 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008673/0.1108, allocations: 486.5 kB / 445.7 MB, free: 7.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.1109, allocations: 12.03 kB / 445.7 MB, free: 7.516 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.338e-05/0.111, allocations: 50.53 kB / 445.7 MB, free: 7.457 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.38e-05/0.1111, allocations: 27.72 kB / 445.8 MB, free: 7.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.1114, allocations: 238.6 kB / 446 MB, free: 7.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.1114, allocations: 12 kB / 446 MB, free: 7.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.1115, allocations: 20 kB / 446 MB, free: 7.125 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.1129, allocations: 0.6373 MB / 446.7 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.113, allocations: 0 / 446.7 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.113, allocations: 7.984 kB / 446.7 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.681e-05/0.1131, allocations: 23.92 kB / 446.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006089/0.1137, allocations: 183.8 kB / 446.9 MB, free: 6.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.1142, allocations: 358.3 kB / 447.2 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006146/0.1148, allocations: 249.4 kB / 447.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.181e-05/0.1149, allocations: 8.703 kB / 447.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.115, allocations: 42.55 kB / 447.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 3.677e-06/0.115, allocations: 4 kB / 447.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=39): time 0.001281/0.1163, allocations: 429.6 kB / 448 MB, free: 5.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.1164, allocations: 130.7 kB / 448.1 MB, free: 4.934 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.1166, allocations: 171.3 kB / 448.2 MB, free: 4.758 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.1167, allocations: 37.77 kB / 448.3 MB, free: 4.715 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.1167, allocations: 101.1 kB / 448.4 MB, free: 4.613 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.006e-05/0.1168, allocations: 51.53 kB / 448.4 MB, free: 4.562 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.715e-05/0.1168, allocations: 8 kB / 448.4 MB, free: 4.555 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.787e-05/0.1169, allocations: 334.8 kB / 448.8 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.1171, allocations: 72.83 kB / 448.8 MB, free: 4.148 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.1174, allocations: 322.7 kB / 449.2 MB, free: 3.711 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.1178, allocations: 135.8 kB / 449.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.1178, allocations: 0 / 449.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008268/0.1186, allocations: 409 kB / 449.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.1187, allocations: 8 kB / 449.7 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.1187, allocations: 8 kB / 449.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.28e-05/0.1187, allocations: 12 kB / 449.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004249/0.1192, allocations: 84.56 kB / 449.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.132e-05/0.1192, allocations: 23.92 kB / 449.8 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.1195, allocations: 39.7 kB / 449.9 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.1195, allocations: 20 kB / 449.9 MB, free: 2.98 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,FIR1.first,$CLKPRE.FIR1.first,FIR2.first,$CLKPRE.FIR2.first,upSample.b_super,$CLKPRE.upSample.b_super,superSampleIpo.first,$CLKPRE.superSampleIpo.first,upSample.b,$CLKPRE.upSample.b) * Number of discrete states: 0 () * Number of clocked states: 13 (superSampleIpo.ticks,FIR1.first,FIR1.u_buffer[2],FIR1.u_buffer[1],FIR2.first,FIR2.u_buffer[4],FIR2.u_buffer[3],FIR2.u_buffer[2],FIR2.u_buffer[1],upSample.b_super,superSampleIpo.first,superSampleIpo.uu,upSample.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 prepare postOptimizeDAE: time 0.0002357/0.1198, allocations: 181.5 kB / 450.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007704/0.1205, allocations: 290.4 kB / 450.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.948e-05/0.1206, allocations: 34.64 kB / 450.4 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.1207, allocations: 4 kB / 450.4 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.1207, allocations: 12 kB / 450.4 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.1207, allocations: 3.984 kB / 450.4 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.121, allocations: 249.2 kB / 450.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.121, allocations: 0 / 450.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004761/0.1215, allocations: 59.91 kB / 450.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.1215, allocations: 11.92 kB / 450.7 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.1215, allocations: 12 kB / 450.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.1215, allocations: 0 / 450.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1216, allocations: 0 / 450.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000855/0.1224, allocations: 467.3 kB / 451.2 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.1226, allocations: 128.8 kB / 451.3 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-05/0.1227, allocations: 19.98 kB / 451.3 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.1229, allocations: 20 kB / 451.3 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.123, allocations: 3.953 kB / 451.3 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.123, allocations: 11.98 kB / 451.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001131/0.1231, allocations: 131.2 kB / 451.5 MB, free: 1.258 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.373e-06/0.1231, allocations: 4 kB / 451.5 MB, free: 1.254 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000552/0.1237, allocations: 47.94 kB / 451.5 MB, free: 1.207 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 (upSample.b_super,FIR2.first,FIR1.first,superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 13 (upSample.b_super,FIR2.u_buffer[1],FIR2.u_buffer[2],FIR2.u_buffer[3],FIR2.u_buffer[4],FIR2.first,FIR1.u_buffer[1],FIR1.u_buffer[2],FIR1.first,superSampleIpo.ticks,upSample.b,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.001745/0.1255, allocations: 1.336 MB / 452.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009259/0.1264, allocations: 293.8 kB / 453.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1264, allocations: 64 / 453.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.391e-05/0.1265, allocations: 15.98 kB / 453.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009373/0.1275, allocations: 212.8 kB / 453.4 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006966/0.1345, allocations: 7.265 MB / 460.6 MB, free: 7.844 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/0.135, allocations: 0.7803 MB / 461.4 MB, free: 7.039 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.1352, allocations: 30.28 kB / 461.5 MB, free: 7.012 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.1354, allocations: 67.41 kB / 461.5 MB, free: 6.945 MB / 298.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1354, allocations: 0 / 461.5 MB, free: 6.945 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.1645, allocations: 4.647 MB / 466.2 MB, free: 2.305 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002995/0.1648, allocations: 198.9 kB / 466.4 MB, free: 2.062 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.829/2.994, allocations: 0 / 466.4 MB, free: 2.062 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2_res.mat does not exist to compare? outputFormat=mat