Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.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.ShiftSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_ShiftSample",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.0009491/0.0009491, allocations: 174.5 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.282/1.282, 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.0007588/0.0007588, allocations: 93.23 kB / 269.9 MB, free: 8.668 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.06593/0.06593, allocations: 12.56 MB / 330.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003564, allocations: 16 kB / 391.2 MB, free: 66.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06707/0.06744, allocations: 49.97 MB / 441.1 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample): time 0.001327/0.06881, allocations: 1.273 MB / 442.4 MB, free: 15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005884/0.06942, allocations: 0.5152 MB / 442.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.164e-05/0.0695, allocations: 3.938 kB / 442.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.929e-05/0.06955, allocations: 4 kB / 442.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.06967, allocations: 11.92 kB / 442.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.06988, allocations: 43.89 kB / 443 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.69e-05/0.06996, allocations: 47.8 kB / 443 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.717e-05/0.07004, allocations: 16.17 kB / 443.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.187e-05/0.0701, allocations: 19.86 kB / 443.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.498e-05/0.07015, allocations: 23.86 kB / 443.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.07017, allocations: 4 kB / 443.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.07019, allocations: 0 / 443.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.07023, allocations: 15.92 kB / 443.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.07026, allocations: 19.81 kB / 443.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.686e-05/0.07033, allocations: 48.08 kB / 443.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.07034, allocations: 4 kB / 443.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.07035, allocations: 0 / 443.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.07036, allocations: 0 / 443.2 MB, free: 14.22 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.0003075/0.07067, allocations: 371.1 kB / 443.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.07071, allocations: 12.03 kB / 443.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.223e-05/0.07074, allocations: 34.75 kB / 443.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.117e-05/0.07076, allocations: 8.844 kB / 443.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.07089, allocations: 204 kB / 443.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.07091, allocations: 4.359 kB / 443.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.07092, allocations: 8.312 kB / 443.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.07113, allocations: 113 kB / 443.9 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.07114, allocations: 4 kB / 443.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.07116, allocations: 4 kB / 443.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.07117, allocations: 0 / 443.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.592e-05/0.07124, allocations: 15.98 kB / 443.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.07144, allocations: 269.7 kB / 444.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.904e-05/0.07151, allocations: 45.28 kB / 444.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.07156, allocations: 17.7 kB / 444.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.07158, allocations: 8 kB / 444.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.0716, allocations: 38.5 kB / 444.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.0716, allocations: 0 / 444.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001946/0.0718, allocations: 77.45 kB / 444.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.07184, allocations: 81.36 kB / 444.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.502e-05/0.07192, allocations: 149.6 kB / 444.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.07193, allocations: 25.7 kB / 444.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.572e-05/0.07196, allocations: 88.14 kB / 444.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.888e-06/0.07198, allocations: 3.906 kB / 444.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/0.072, allocations: 9.719 kB / 444.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.771e-05/0.07204, allocations: 322.8 kB / 445.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.573e-05/0.07208, allocations: 12 kB / 445.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.36e-05/0.07212, allocations: 25.7 kB / 445.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.592e-05/0.0722, allocations: 37.64 kB / 445.1 MB, free: 12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.07221, allocations: 4.062 kB / 445.1 MB, free: 12 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.193e-05/0.0723, allocations: 49.69 kB / 445.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.07232, allocations: 4 kB / 445.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.07233, allocations: 0 / 445.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.826e-06/0.07234, allocations: 0 / 445.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.875e-05/0.07241, allocations: 15.92 kB / 445.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.07242, allocations: 0 / 445.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.368e-05/0.07246, allocations: 12.06 kB / 445.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.07247, allocations: 0 / 445.2 MB, free: 11.91 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.767e-05/0.07252, allocations: 114.7 kB / 445.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.07257, allocations: 45.59 kB / 445.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.0726, allocations: 11.83 kB / 445.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.0726, allocations: 0 / 445.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.07261, allocations: 3.984 kB / 445.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.07262, allocations: 0 / 445.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.07273, allocations: 173.6 kB / 445.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.07274, allocations: 4.031 kB / 445.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/0.07279, allocations: 7.984 kB / 445.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.0728, allocations: 4 kB / 445.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.07281, allocations: 3.938 kB / 445.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.07281, allocations: 3.938 kB / 445.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.07282, allocations: 0 / 445.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.07294, allocations: 172.2 kB / 445.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.07298, allocations: 93 kB / 445.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.07303, allocations: 0 / 445.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.654e-05/0.07311, allocations: 7.938 kB / 445.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.07314, allocations: 0 / 445.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.07315, allocations: 0 / 445.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.297e-05/0.0732, allocations: 111.2 kB / 446 MB, free: 11.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.07321, allocations: 4.031 kB / 446 MB, free: 11.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001885/0.0734, allocations: 4 kB / 446 MB, free: 11.06 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.0002511/0.07366, allocations: 0.6975 MB / 446.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.07377, allocations: 23.98 kB / 446.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.07378, allocations: 0 / 446.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.364e-05/0.07382, allocations: 11.94 kB / 446.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.07413, allocations: 24.02 kB / 446.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008009/0.07494, allocations: 1.349 MB / 448.1 MB, free: 8.836 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.07506, allocations: 0.6926 MB / 448.8 MB, free: 8.117 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.649e-05/0.07509, allocations: 0 / 448.8 MB, free: 8.117 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.07513, allocations: 15.44 kB / 448.8 MB, free: 8.102 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.07513, allocations: 0 / 448.8 MB, free: 8.102 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3307/0.4059, allocations: 1.383 MB / 450.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.4061, allocations: 232.2 kB / 450.4 MB, free: 6.453 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/1.939, allocations: 3.938 kB / 450.4 MB, free: 6.449 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_ShiftSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches