Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.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.ClockSignals.SubSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_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.0009692/0.0009694, allocations: 175.9 kB / 16.11 MB, free: 5.574 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.263/1.263, 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.0006536/0.0006536, allocations: 92.08 kB / 269.9 MB, free: 8.664 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.05773/0.05773, allocations: 12.57 MB / 330.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003194, allocations: 12 kB / 391.2 MB, free: 66.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06187/0.0622, allocations: 49.98 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample): time 0.001275/0.06352, allocations: 1.269 MB / 442.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005315/0.06406, allocations: 0.5035 MB / 442.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.578e-05/0.06414, allocations: 0 / 442.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.861e-05/0.06421, allocations: 7.938 kB / 442.9 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.06433, allocations: 11.92 kB / 442.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.06454, allocations: 39.91 kB / 443 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.174e-05/0.06462, allocations: 43.8 kB / 443 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.411e-05/0.0647, allocations: 15.98 kB / 443 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.212e-05/0.06476, allocations: 19.91 kB / 443 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.259e-05/0.06481, allocations: 19.88 kB / 443.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.06483, allocations: 4 kB / 443.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-06/0.06484, allocations: 0 / 443.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/0.06488, allocations: 11.92 kB / 443.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.06492, allocations: 23.81 kB / 443.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.977e-05/0.06499, allocations: 48.08 kB / 443.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.065, allocations: 4 kB / 443.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.06501, allocations: 0 / 443.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.06502, allocations: 0 / 443.2 MB, free: 14.25 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.0003089/0.06533, allocations: 363.2 kB / 443.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.06537, allocations: 12.03 kB / 443.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.708e-05/0.06541, allocations: 30.75 kB / 443.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.06544, allocations: 8.844 kB / 443.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.06557, allocations: 211.9 kB / 443.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.949e-06/0.06558, allocations: 384 / 443.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.0656, allocations: 8.375 kB / 443.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.06581, allocations: 113.2 kB / 443.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.06582, allocations: 0 / 443.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.06584, allocations: 3.938 kB / 443.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.06585, allocations: 4 kB / 443.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.701e-05/0.06592, allocations: 19.98 kB / 443.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.06613, allocations: 269.7 kB / 444.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.449e-05/0.06621, allocations: 37.22 kB / 444.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.229e-05/0.06626, allocations: 29.7 kB / 444.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.06628, allocations: 4 kB / 444.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.0663, allocations: 34.56 kB / 444.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.06631, allocations: 3.984 kB / 444.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001964/0.06651, allocations: 77.52 kB / 444.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.06655, allocations: 81.36 kB / 444.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.06663, allocations: 138.1 kB / 444.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.06664, allocations: 25.7 kB / 444.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.655e-05/0.06667, allocations: 88.14 kB / 444.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.015e-05/0.06669, allocations: 0 / 444.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.06671, allocations: 9.719 kB / 444.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.828e-05/0.06678, allocations: 326.8 kB / 445 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.983e-05/0.06683, allocations: 8 kB / 445 MB, free: 12.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.315e-05/0.06687, allocations: 25.7 kB / 445 MB, free: 12.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.595e-05/0.06694, allocations: 37.64 kB / 445.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.06695, allocations: 0 / 445.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.556e-05/0.06705, allocations: 65.59 kB / 445.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.06707, allocations: 4 kB / 445.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.06708, allocations: 4 kB / 445.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/0.0671, allocations: 0 / 445.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.913e-05/0.06716, allocations: 7.984 kB / 445.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.06717, allocations: 0 / 445.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.421e-05/0.06721, allocations: 12 kB / 445.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.06722, allocations: 0 / 445.2 MB, free: 11.95 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 4.588e-05/0.06727, allocations: 121.8 kB / 445.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.06732, allocations: 37.59 kB / 445.3 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.06735, allocations: 15.83 kB / 445.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.06736, allocations: 0 / 445.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.06736, allocations: 0 / 445.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.06737, allocations: 4 kB / 445.3 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.06748, allocations: 165.6 kB / 445.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.06749, allocations: 4.031 kB / 445.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.06754, allocations: 15.92 kB / 445.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.06754, allocations: 0 / 445.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.06755, allocations: 0 / 445.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.06756, allocations: 0 / 445.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.06756, allocations: 0 / 445.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.06768, allocations: 176.2 kB / 445.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.06772, allocations: 93 kB / 445.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.06774, allocations: 0 / 445.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/0.06781, allocations: 4 kB / 445.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.06784, allocations: 0 / 445.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.06785, allocations: 8 kB / 445.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.089e-05/0.06789, allocations: 107.2 kB / 445.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.0679, allocations: 0 / 445.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001907/0.0681, allocations: 11.97 kB / 445.9 MB, free: 11.1 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0002348/0.06834, allocations: 0.6898 MB / 446.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.06845, allocations: 31.95 kB / 446.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.06846, allocations: 0 / 446.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.279e-05/0.0685, allocations: 8 kB / 446.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.06879, allocations: 20.02 kB / 446.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007955/0.0696, allocations: 1.341 MB / 448 MB, free: 8.895 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.891e-05/0.0697, allocations: 0.6887 MB / 448.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.636e-05/0.06973, allocations: 7.906 kB / 448.7 MB, free: 8.172 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.06977, allocations: 15.55 kB / 448.7 MB, free: 8.156 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.06977, allocations: 0 / 448.7 MB, free: 8.156 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2702/0.3399, allocations: 1.312 MB / 450 MB, free: 6.844 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.3402, allocations: 225.8 kB / 450.3 MB, free: 6.586 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/1.957, allocations: 0 / 450.3 MB, free: 6.586 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches