Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.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.UpSample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1",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.0009944/0.0009946, allocations: 175.9 kB / 16.12 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.28/1.28, allocations: 205 MB / 221.9 MB, free: 9.141 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.0006946/0.0006946, allocations: 93.72 kB / 269.9 MB, free: 8.66 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.06198/0.06198, allocations: 12.58 MB / 330.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003696, allocations: 8 kB / 391.2 MB, free: 66.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07227/0.07266, allocations: 49.98 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1): time 0.001447/0.07414, allocations: 1.466 MB / 442.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006887/0.07485, allocations: 0.5619 MB / 443.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.251e-05/0.07494, allocations: 3.938 kB / 443.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.339e-05/0.07499, allocations: 7.922 kB / 443.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.07512, allocations: 19.86 kB / 443.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.07544, allocations: 87.84 kB / 443.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.785e-05/0.07554, allocations: 79.78 kB / 443.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.184e-05/0.07563, allocations: 25.39 kB / 443.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.901e-05/0.07571, allocations: 39.78 kB / 443.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.951e-05/0.07577, allocations: 39.78 kB / 443.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.07579, allocations: 0 / 443.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.07581, allocations: 4 kB / 443.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.741e-05/0.07586, allocations: 27.84 kB / 443.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.07591, allocations: 47.67 kB / 443.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.474e-05/0.07601, allocations: 95.52 kB / 443.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.07602, allocations: 4 kB / 443.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.07602, allocations: 0 / 443.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.07603, allocations: 0 / 443.6 MB, free: 13.77 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0003661/0.0764, allocations: 395.1 kB / 444 MB, free: 13.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.07644, allocations: 8.031 kB / 444 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.104e-05/0.07648, allocations: 46.73 kB / 444.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.07652, allocations: 16.75 kB / 444.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.07667, allocations: 219.9 kB / 444.3 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.0767, allocations: 12.38 kB / 444.3 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.07672, allocations: 8.375 kB / 444.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.07712, allocations: 293.3 kB / 444.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.07714, allocations: 0 / 444.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.07716, allocations: 8 kB / 444.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.07717, allocations: 3.938 kB / 444.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.0773, allocations: 55.91 kB / 444.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.07757, allocations: 302.5 kB / 445 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.07777, allocations: 139.8 kB / 445.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.07788, allocations: 74.62 kB / 445.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.07792, allocations: 7.984 kB / 445.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.07794, allocations: 30.56 kB / 445.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.07794, allocations: 0 / 445.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003332/0.07828, allocations: 185.7 kB / 445.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.07834, allocations: 118.7 kB / 445.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.319e-05/0.07844, allocations: 154.2 kB / 445.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.07845, allocations: 29.7 kB / 445.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/0.07849, allocations: 96.08 kB / 445.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.07851, allocations: 11.91 kB / 445.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.07854, allocations: 25.7 kB / 445.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.07859, allocations: 326.8 kB / 446.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.999e-05/0.07865, allocations: 32.02 kB / 446.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.986e-05/0.07874, allocations: 134.6 kB / 446.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.07889, allocations: 174.3 kB / 446.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.0789, allocations: 4 kB / 446.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002298/0.07914, allocations: 181.1 kB / 446.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.07916, allocations: 7.984 kB / 446.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.07918, allocations: 4 kB / 446.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.0792, allocations: 8.531 kB / 446.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.07931, allocations: 35.92 kB / 446.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.07933, allocations: 8 kB / 446.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.367e-05/0.07941, allocations: 11.88 kB / 446.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.07943, allocations: 16.38 kB / 446.8 MB, free: 10.26 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 7.488e-05/0.07951, allocations: 137.7 kB / 446.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.07965, allocations: 121.4 kB / 447 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/0.0797, allocations: 16.72 kB / 447 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.0797, allocations: 3.938 kB / 447 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.07971, allocations: 8 kB / 447 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.07972, allocations: 3.938 kB / 447 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.07985, allocations: 197.5 kB / 447.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.07986, allocations: 0 / 447.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.709e-05/0.07996, allocations: 31.91 kB / 447.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.07997, allocations: 8 kB / 447.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.07999, allocations: 4 kB / 447.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.08, allocations: 7.984 kB / 447.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.08, allocations: 0 / 447.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.08022, allocations: 263.8 kB / 447.5 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.08028, allocations: 104.9 kB / 447.6 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.08031, allocations: 0 / 447.6 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-05/0.08039, allocations: 8 kB / 447.7 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.08043, allocations: 11.94 kB / 447.7 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.08044, allocations: 4 kB / 447.7 MB, free: 9.242 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.969e-05/0.0805, allocations: 116.1 kB / 447.8 MB, free: 9.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0805, allocations: 0 / 447.8 MB, free: 9.129 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002421/0.08075, allocations: 20 kB / 447.8 MB, free: 9.109 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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0004695/0.08122, allocations: 0.8544 MB / 448.7 MB, free: 8.219 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.08142, allocations: 104.8 kB / 448.8 MB, free: 8.117 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.08143, allocations: 0 / 448.8 MB, free: 8.117 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.546e-05/0.08147, allocations: 15.98 kB / 448.8 MB, free: 8.102 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.0819, allocations: 80.25 kB / 448.9 MB, free: 8.023 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.08317, allocations: 1.898 MB / 450.7 MB, free: 5.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.0833, allocations: 0.7166 MB / 451.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.786e-05/0.08335, allocations: 9.422 kB / 451.5 MB, free: 5.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.0834, allocations: 35.42 kB / 451.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.08341, allocations: 0 / 451.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2146/0.298, allocations: 2.415 MB / 453.9 MB, free: 2.723 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.2983, allocations: 220.8 kB / 454.1 MB, free: 2.469 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/2.265, allocations: 0 / 454.1 MB, free: 2.469 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches