Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample",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.00117/0.00117, allocations: 178.6 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.291/1.291, allocations: 205 MB / 221.9 MB, free: 9.156 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.0007576/0.0007577, allocations: 89.36 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.06639/0.06639, allocations: 12.57 MB / 330.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003737, allocations: 8 kB / 391.2 MB, free: 66.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08056/0.08095, allocations: 49.98 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample): time 0.001305/0.08231, allocations: 1.261 MB / 442.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006012/0.08293, allocations: 0.5347 MB / 442.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.128e-05/0.08301, allocations: 0 / 442.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.226e-05/0.08307, allocations: 3.938 kB / 442.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.08318, allocations: 15.91 kB / 443 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.0834, allocations: 39.91 kB / 443 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.482e-05/0.08347, allocations: 43.8 kB / 443 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.77e-05/0.08356, allocations: 19.98 kB / 443.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.32e-05/0.08362, allocations: 15.92 kB / 443.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.139e-05/0.08367, allocations: 23.86 kB / 443.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.08369, allocations: 0 / 443.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.0837, allocations: 0 / 443.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.716e-05/0.08375, allocations: 11.92 kB / 443.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.08378, allocations: 23.81 kB / 443.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.786e-05/0.08385, allocations: 52.08 kB / 443.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.08386, allocations: 4 kB / 443.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.08387, allocations: 0 / 443.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.08388, allocations: 0 / 443.2 MB, free: 14.23 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.0003346/0.08422, allocations: 367.1 kB / 443.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.08426, allocations: 12.03 kB / 443.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.85e-05/0.0843, allocations: 30.75 kB / 443.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.08433, allocations: 8.844 kB / 443.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.08448, allocations: 212 kB / 443.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-06/0.08449, allocations: 4.375 kB / 443.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.08451, allocations: 8.375 kB / 443.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.08472, allocations: 109.1 kB / 443.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.08473, allocations: 0 / 443.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.08475, allocations: 4 kB / 443.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.08476, allocations: 4 kB / 443.9 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.859e-05/0.08483, allocations: 23.92 kB / 444 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.08505, allocations: 261.8 kB / 444.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.974e-05/0.08513, allocations: 45.16 kB / 444.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.08518, allocations: 25.77 kB / 444.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.0852, allocations: 0 / 444.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.203e-05/0.08522, allocations: 34.56 kB / 444.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.08522, allocations: 0 / 444.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001947/0.08542, allocations: 81.52 kB / 444.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.08546, allocations: 77.11 kB / 444.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.023e-05/0.08555, allocations: 134.2 kB / 444.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.732e-06/0.08556, allocations: 29.69 kB / 444.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.668e-05/0.08559, allocations: 92.39 kB / 444.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.093e-05/0.08561, allocations: 0 / 444.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/0.08563, allocations: 9.719 kB / 444.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.051e-05/0.08568, allocations: 322.8 kB / 445 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.755e-05/0.08572, allocations: 11.92 kB / 445.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.245e-05/0.08576, allocations: 25.7 kB / 445.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.414e-05/0.08583, allocations: 33.78 kB / 445.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.08584, allocations: 0 / 445.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.411e-05/0.08594, allocations: 65.52 kB / 445.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.08596, allocations: 4 kB / 445.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.08597, allocations: 8.062 kB / 445.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.08598, allocations: 0 / 445.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.714e-05/0.08604, allocations: 4 kB / 445.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.08606, allocations: 0 / 445.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.346e-05/0.08609, allocations: 11.92 kB / 445.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.08611, allocations: 0 / 445.2 MB, free: 11.93 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.677e-05/0.08616, allocations: 121.8 kB / 445.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.08621, allocations: 41.53 kB / 445.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.08624, allocations: 19.86 kB / 445.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.08625, allocations: 0 / 445.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.08626, allocations: 8 kB / 445.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.08626, allocations: 0 / 445.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.08638, allocations: 165.6 kB / 445.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.08638, allocations: 0 / 445.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.08643, allocations: 11.98 kB / 445.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.08644, allocations: 0 / 445.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.08645, allocations: 0 / 445.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.08645, allocations: 3.938 kB / 445.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.08646, allocations: 4 kB / 445.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.08658, allocations: 168.2 kB / 445.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.08662, allocations: 93 kB / 445.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.08665, allocations: 0 / 445.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.439e-05/0.08672, allocations: 12.02 kB / 445.8 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.08676, allocations: 0 / 445.8 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.08676, allocations: 4 kB / 445.8 MB, free: 11.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.195e-05/0.08681, allocations: 107.2 kB / 445.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08682, allocations: 0 / 445.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001974/0.08702, allocations: 4 kB / 445.9 MB, free: 11.08 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.0002605/0.08729, allocations: 0.6937 MB / 446.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.0874, allocations: 27.92 kB / 446.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.08741, allocations: 4.156 kB / 446.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.301e-05/0.08745, allocations: 8 kB / 446.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.08776, allocations: 20.02 kB / 446.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008405/0.08861, allocations: 1.337 MB / 448 MB, free: 8.871 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.08873, allocations: 0.6848 MB / 448.7 MB, free: 8.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.763e-05/0.08876, allocations: 15.92 kB / 448.7 MB, free: 8.145 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.0888, allocations: 15.42 kB / 448.8 MB, free: 8.129 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.0888, allocations: 0 / 448.8 MB, free: 8.129 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/0.1995, allocations: 1.311 MB / 450.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001356/0.1997, allocations: 228.2 kB / 450.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/1.899, allocations: 4 kB / 450.3 MB, free: 6.555 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches