Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 106.3 kB / 17.06 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009629/0.000963, allocations: 196 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 47.91 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.631/0.6331, allocations: 49.44 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.00773/0.6409, allocations: 1.544 MB / 401.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.6427, allocations: 499.2 kB / 402.3 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.6428, allocations: 7.938 kB / 402.3 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.135e-05/0.643, allocations: 3.938 kB / 402.3 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.6432, allocations: 3.938 kB / 402.3 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.6436, allocations: 51.83 kB / 402.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.6438, allocations: 51.77 kB / 402.4 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.644, allocations: 20.12 kB / 402.4 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.6442, allocations: 23.86 kB / 402.4 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.6443, allocations: 23.86 kB / 402.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.6444, allocations: 4 kB / 402.4 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.907e-05/0.6444, allocations: 0 / 402.4 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.643e-05/0.6445, allocations: 19.91 kB / 402.5 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.564e-05/0.6446, allocations: 27.81 kB / 402.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.6448, allocations: 55.73 kB / 402.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.6449, allocations: 8 kB / 402.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.6449, allocations: 0 / 402.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.6449, allocations: 0 / 402.6 MB, free: 6.504 MB / 318.1 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.0009506/0.6459, allocations: 368.9 kB / 402.9 MB, free: 6.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.637e-05/0.646, allocations: 12.03 kB / 402.9 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.781e-05/0.6461, allocations: 38.73 kB / 403 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.902e-05/0.6461, allocations: 8.844 kB / 403 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006245/0.6468, allocations: 204 kB / 403.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.6468, allocations: 384 / 403.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.6469, allocations: 4.375 kB / 403.2 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.6474, allocations: 117 kB / 403.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.6474, allocations: 0 / 403.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.6474, allocations: 0 / 403.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.6475, allocations: 4 kB / 403.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.6476, allocations: 23.86 kB / 403.3 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/0.6482, allocations: 257.8 kB / 403.6 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.6484, allocations: 49.19 kB / 403.6 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.294e-05/0.6485, allocations: 29.7 kB / 403.6 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.6485, allocations: 0 / 403.6 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.6486, allocations: 34.56 kB / 403.7 MB, free: 5.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.6486, allocations: 0 / 403.7 MB, free: 5.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003895/0.649, allocations: 65.52 kB / 403.7 MB, free: 5.109 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.468e-05/0.6491, allocations: 85.36 kB / 403.8 MB, free: 5.008 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.6493, allocations: 141.8 kB / 404 MB, free: 4.859 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.6494, allocations: 25.7 kB / 404 MB, free: 4.828 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/0.6495, allocations: 92.12 kB / 404.1 MB, free: 4.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.6495, allocations: 3.906 kB / 404.1 MB, free: 4.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/0.6496, allocations: 17.72 kB / 404.1 MB, free: 4.707 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.6498, allocations: 318.8 kB / 404.4 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.042e-05/0.6498, allocations: 12 kB / 404.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.172e-05/0.6499, allocations: 21.7 kB / 404.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.6501, allocations: 33.64 kB / 404.5 MB, free: 4.309 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6501, allocations: 0 / 404.5 MB, free: 4.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002082/0.6503, allocations: 61.59 kB / 404.5 MB, free: 4.242 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.6504, allocations: 7.938 kB / 404.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.6504, allocations: 0 / 404.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.6504, allocations: 4 kB / 404.5 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.6506, allocations: 4 kB / 404.6 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.6506, allocations: 3.984 kB / 404.6 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.6507, allocations: 4 kB / 404.6 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.6507, allocations: 0 / 404.6 MB, free: 4.219 MB / 318.1 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 0.0001386/0.6508, allocations: 117.8 kB / 404.7 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.651, allocations: 45.66 kB / 404.7 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.485e-05/0.651, allocations: 11.88 kB / 404.7 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6511, allocations: 0 / 404.7 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.6511, allocations: 0 / 404.7 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6511, allocations: 0 / 404.7 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.6514, allocations: 181.5 kB / 404.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.6514, allocations: 3.938 kB / 404.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.025e-05/0.6515, allocations: 7.984 kB / 404.9 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.6515, allocations: 3.938 kB / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.6515, allocations: 0 / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6516, allocations: 4.031 kB / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6516, allocations: 4 kB / 404.9 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.6519, allocations: 164.2 kB / 405.1 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.25e-05/0.652, allocations: 85.02 kB / 405.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.652, allocations: 11.98 kB / 405.2 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.6522, allocations: 4.031 kB / 405.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.6522, allocations: 4 kB / 405.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.6522, allocations: 0 / 405.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.6524, allocations: 117.9 kB / 405.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6524, allocations: 0 / 405.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000412/0.6528, allocations: 4 kB / 405.3 MB, free: 3.359 MB / 318.1 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.0006932/0.6535, allocations: 0.6937 MB / 406 MB, free: 2.637 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.6538, allocations: 27.92 kB / 406 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.6538, allocations: 0 / 406 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.59e-05/0.6539, allocations: 4 kB / 406 MB, free: 2.605 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006089/0.6545, allocations: 28.27 kB / 406.1 MB, free: 2.578 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.6564, allocations: 1.318 MB / 407.4 MB, free: 1.172 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.6569, allocations: 0.6922 MB / 408.1 MB, free: 464 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.449e-05/0.6569, allocations: 8.031 kB / 408.1 MB, free: 456 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.657, allocations: 19.42 kB / 408.1 MB, free: 436 kB / 318.1 MB Notification: Performance of SimCode: time 4.7e-07/0.657, allocations: 0 / 408.1 MB, free: 436 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.19/3.847, allocations: 1.617 MB / 409.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.31/23.15, allocations: 8.672 kB / 409.7 MB, free: 14.92 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches