Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.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.SubSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SubSample",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.001054/0.001054, 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.498/1.498, allocations: 205 MB / 221.9 MB, free: 9.152 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.0007854/0.0007853, allocations: 93.95 kB / 269.9 MB, free: 8.672 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.06853/0.06853, allocations: 12.57 MB / 330.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.00043, allocations: 12 kB / 391.2 MB, free: 66.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.108, allocations: 49.98 MB / 441.1 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample): time 0.001525/0.1096, allocations: 1.293 MB / 442.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000687/0.1103, allocations: 0.5074 MB / 442.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.847e-05/0.1104, allocations: 4 kB / 442.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.24e-05/0.1105, allocations: 3.938 kB / 443 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.1106, allocations: 7.938 kB / 443 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.1109, allocations: 51.88 kB / 443 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.088e-05/0.111, allocations: 39.8 kB / 443 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1111, allocations: 16.17 kB / 443.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.76e-05/0.1112, allocations: 19.94 kB / 443.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.931e-05/0.1112, allocations: 23.84 kB / 443.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.1113, allocations: 0 / 443.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.1113, allocations: 0 / 443.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.132e-05/0.1113, allocations: 15.92 kB / 443.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.1114, allocations: 23.81 kB / 443.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.045e-05/0.1115, allocations: 52.02 kB / 443.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1115, allocations: 0 / 443.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1115, allocations: 0 / 443.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.1115, allocations: 3.938 kB / 443.2 MB, free: 14.2 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003618/0.1119, allocations: 371.2 kB / 443.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1119, allocations: 8.031 kB / 443.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.743e-05/0.112, allocations: 30.75 kB / 443.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.112, allocations: 8.844 kB / 443.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.1122, allocations: 200.1 kB / 443.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-06/0.1122, allocations: 4.375 kB / 443.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.1122, allocations: 384 / 443.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.1124, allocations: 125.8 kB / 443.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1125, allocations: 0 / 443.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.1125, allocations: 0 / 443.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1125, allocations: 4 kB / 443.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.883e-05/0.1126, allocations: 31.86 kB / 444 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/0.1128, allocations: 282.5 kB / 444.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.867e-05/0.1129, allocations: 67.86 kB / 444.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/0.113, allocations: 38.56 kB / 444.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.113, allocations: 0 / 444.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.113, allocations: 30.56 kB / 444.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.113, allocations: 7.938 kB / 444.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002406/0.1133, allocations: 93.5 kB / 444.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1133, allocations: 110.8 kB / 444.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9e-05/0.1134, allocations: 142 kB / 444.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.1135, allocations: 29.7 kB / 444.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.1135, allocations: 96.03 kB / 444.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.1135, allocations: 4 kB / 444.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.1136, allocations: 9.719 kB / 444.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.878e-05/0.1136, allocations: 318.8 kB / 445.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/0.1137, allocations: 11.98 kB / 445.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.073e-05/0.1137, allocations: 39.42 kB / 445.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.747e-05/0.1138, allocations: 51.36 kB / 445.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1138, allocations: 0 / 445.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001117/0.1139, allocations: 81.52 kB / 445.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1139, allocations: 4 kB / 445.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.114, allocations: 0 / 445.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.114, allocations: 4 kB / 445.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.1141, allocations: 11.94 kB / 445.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1141, allocations: 0 / 445.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.865e-05/0.1141, allocations: 12.11 kB / 445.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.1141, allocations: 4 kB / 445.4 MB, free: 11.7 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 6.974e-05/0.1142, allocations: 118.7 kB / 445.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/0.1143, allocations: 57.53 kB / 445.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.1143, allocations: 19.91 kB / 445.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1143, allocations: 4 kB / 445.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1143, allocations: 0 / 445.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1143, allocations: 0 / 445.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.1145, allocations: 181.6 kB / 445.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.1145, allocations: 0 / 445.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.203e-05/0.1145, allocations: 8 kB / 445.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1146, allocations: 0 / 445.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1146, allocations: 4 kB / 445.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1146, allocations: 0 / 445.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1146, allocations: 0 / 445.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.1147, allocations: 193 kB / 446 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.1148, allocations: 92.94 kB / 446 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.1148, allocations: 15.88 kB / 446.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-05/0.1149, allocations: 4 kB / 446.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.1149, allocations: 0 / 446.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.1149, allocations: 0 / 446.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.082e-05/0.115, allocations: 115.2 kB / 446.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.115, allocations: 0 / 446.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002192/0.1152, allocations: 4 kB / 446.2 MB, free: 10.8 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0002999/0.1155, allocations: 0.714 MB / 446.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.1157, allocations: 39.91 kB / 446.9 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1157, allocations: 4 kB / 446.9 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.283e-05/0.1157, allocations: 4.25 kB / 446.9 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.1161, allocations: 34.19 kB / 447 MB, free: 9.973 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000991/0.1171, allocations: 1.409 MB / 448.4 MB, free: 8.457 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.1172, allocations: 0.6926 MB / 449.1 MB, free: 7.738 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.751e-05/0.1173, allocations: 0 / 449.1 MB, free: 7.738 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.1173, allocations: 23.42 kB / 449.1 MB, free: 7.715 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1173, allocations: 0 / 449.1 MB, free: 7.715 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01097/0.1283, allocations: 1.448 MB / 450.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.1285, allocations: 220.7 kB / 450.8 MB, free: 6.012 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/1.776, allocations: 4 kB / 450.8 MB, free: 6.008 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches