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.001183/0.001183, allocations: 175.8 kB / 16.11 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205 MB / 221.9 MB, free: 9.148 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.000702/0.000702, allocations: 93.97 kB / 269.9 MB, free: 8.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06742/0.06742, allocations: 12.57 MB / 330.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003767, allocations: 12 kB / 391.2 MB, free: 66.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09678/0.09718, allocations: 49.98 MB / 441.1 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2): time 0.001598/0.09882, allocations: 1.468 MB / 442.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008922/0.09973, allocations: 0.632 MB / 443.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.09986, allocations: 7.938 kB / 443.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.1001, allocations: 19.86 kB / 443.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.1003, allocations: 31.84 kB / 443.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.1007, allocations: 111.8 kB / 443.4 MB, free: 14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.1008, allocations: 151.6 kB / 443.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1009, allocations: 33.81 kB / 443.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1011, allocations: 55.72 kB / 443.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.1013, allocations: 99.62 kB / 443.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.1013, allocations: 8 kB / 443.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.228e-05/0.1013, allocations: 4 kB / 443.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.614e-05/0.1014, allocations: 59.81 kB / 443.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.067e-05/0.1015, allocations: 79.47 kB / 443.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.1017, allocations: 183.2 kB / 444.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1017, allocations: 4 kB / 444.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1017, allocations: 7.938 kB / 444.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1017, allocations: 4 kB / 444.1 MB, free: 13.32 MB / 298.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.000754/0.1025, allocations: 474.7 kB / 444.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.1025, allocations: 8.031 kB / 444.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.543e-05/0.1026, allocations: 54.73 kB / 444.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.1026, allocations: 28.64 kB / 444.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.1029, allocations: 255.8 kB / 444.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.1029, allocations: 12.38 kB / 444.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.103, allocations: 20.38 kB / 444.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008617/0.1039, allocations: 0.6413 MB / 445.6 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1039, allocations: 0 / 445.6 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.1039, allocations: 7.984 kB / 445.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.1039, allocations: 16 kB / 445.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/0.1043, allocations: 187.8 kB / 445.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.1046, allocations: 370.2 kB / 446.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.105, allocations: 244.7 kB / 446.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.1052, allocations: 171 kB / 446.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.1052, allocations: 8 kB / 446.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.1052, allocations: 34.56 kB / 446.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.363e-06/0.1052, allocations: 0 / 446.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.0006933/0.1059, allocations: 441.3 kB / 447 MB, free: 10.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/0.106, allocations: 138.6 kB / 447.1 MB, free: 10 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.1061, allocations: 167.4 kB / 447.3 MB, free: 9.832 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.1062, allocations: 33.7 kB / 447.3 MB, free: 9.793 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.1062, allocations: 97.14 kB / 447.4 MB, free: 9.695 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.1063, allocations: 39.59 kB / 447.5 MB, free: 9.656 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.1063, allocations: 45.81 kB / 447.5 MB, free: 9.605 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.469e-05/0.1064, allocations: 342.8 kB / 447.9 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.1065, allocations: 76.83 kB / 447.9 MB, free: 9.188 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.1067, allocations: 322.7 kB / 448.2 MB, free: 8.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.107, allocations: 413 kB / 448.6 MB, free: 8.227 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.107, allocations: 4 kB / 448.6 MB, free: 8.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004501/0.1074, allocations: 409 kB / 449 MB, free: 7.816 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1075, allocations: 11.94 kB / 449.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1075, allocations: 8 kB / 449.1 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.1075, allocations: 12 kB / 449.1 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.1077, allocations: 92.39 kB / 449.2 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.1077, allocations: 15.94 kB / 449.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.1079, allocations: 47.67 kB / 449.2 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.1079, allocations: 24 kB / 449.3 MB, free: 7.609 MB / 298.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 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.FIR1.first,FIR1.first,$CLKPRE.FIR2.first,FIR2.first,$CLKPRE.upSample.b_super,upSample.b_super,$CLKPRE.superSampleIpo.first,superSampleIpo.first,$CLKPRE.upSample.b,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.108, allocations: 178.4 kB / 449.4 MB, free: 7.426 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003765/0.1084, allocations: 290.4 kB / 449.7 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.274e-05/0.1085, allocations: 42.58 kB / 449.8 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1085, allocations: 7.938 kB / 449.8 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1085, allocations: 0 / 449.8 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1085, allocations: 12 kB / 449.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.1087, allocations: 249.2 kB / 450 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1087, allocations: 0 / 450 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.1089, allocations: 63.91 kB / 450.1 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1089, allocations: 0 / 450.1 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.1089, allocations: 11.98 kB / 450.1 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1089, allocations: 4 kB / 450.1 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.109, allocations: 0 / 450.1 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004447/0.1094, allocations: 447.7 kB / 450.5 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.357e-05/0.1095, allocations: 128.7 kB / 450.7 MB, free: 6.102 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.1095, allocations: 19.98 kB / 450.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.1097, allocations: 15.98 kB / 450.7 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.1097, allocations: 7.938 kB / 450.7 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.1097, allocations: 12 kB / 450.7 MB, free: 6.047 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.685e-05/0.1098, allocations: 127.2 kB / 450.8 MB, free: 5.922 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1098, allocations: 0 / 450.8 MB, free: 5.922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003208/0.1101, allocations: 48 kB / 450.9 MB, free: 5.875 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008708/0.111, allocations: 1.198 MB / 452.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003796/0.1114, allocations: 293.2 kB / 452.4 MB, free: 4.359 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1114, allocations: 0 / 452.4 MB, free: 4.359 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.464e-05/0.1114, allocations: 21.25 kB / 452.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005525/0.112, allocations: 212.8 kB / 452.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.1144, allocations: 3.022 MB / 455.6 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.1146, allocations: 0.7797 MB / 456.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.081e-05/0.1146, allocations: 22.3 kB / 456.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.1148, allocations: 71.41 kB / 456.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1148, allocations: 3.938 kB / 456.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1773/0.2921, allocations: 4.58 MB / 461.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/0.2924, allocations: 240.6 kB / 461.3 MB, free: 11.03 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/2.563, allocations: 0 / 461.3 MB, free: 11.03 MB / 314.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) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches