Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_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.00173/0.00173, allocations: 114.3 kB / 17.07 MB, free: 6.016 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.001831/0.001832, allocations: 189.4 kB / 18 MB, free: 5.098 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.622/1.622, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 47.91 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3523, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.004339/0.3568, allocations: 1.579 MB / 401.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.3579, allocations: 494.5 kB / 402.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.3581, allocations: 0 / 402.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.603e-05/0.3582, allocations: 11.92 kB / 402.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.3584, allocations: 19.8 kB / 402.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.3587, allocations: 47.83 kB / 402.4 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.3589, allocations: 51.78 kB / 402.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.359, allocations: 12.19 kB / 402.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.195e-05/0.3591, allocations: 23.91 kB / 402.5 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.951e-05/0.3592, allocations: 19.86 kB / 402.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.3592, allocations: 8 kB / 402.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.777e-05/0.3592, allocations: 4 kB / 402.5 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.3593, allocations: 15.92 kB / 402.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.722e-05/0.3594, allocations: 23.81 kB / 402.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.3595, allocations: 58.69 kB / 402.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3596, allocations: 3.938 kB / 402.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3596, allocations: 0 / 402.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.3596, allocations: 0 / 402.6 MB, free: 6.465 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.0006204/0.3602, allocations: 379.1 kB / 403 MB, free: 6.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.3603, allocations: 16.03 kB / 403 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.212e-05/0.3603, allocations: 30.75 kB / 403 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.3604, allocations: 12.88 kB / 403 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.3607, allocations: 200.2 kB / 403.2 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.3607, allocations: 384 / 403.2 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.3607, allocations: 4.375 kB / 403.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.361, allocations: 125.8 kB / 403.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.3611, allocations: 0 / 403.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3611, allocations: 11.88 kB / 403.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.3611, allocations: 0 / 403.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.755e-05/0.3612, allocations: 19.98 kB / 403.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.3616, allocations: 278.5 kB / 403.7 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.3618, allocations: 67.78 kB / 403.7 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.607e-05/0.3618, allocations: 38.62 kB / 403.8 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.3619, allocations: 0 / 403.8 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.3619, allocations: 30.56 kB / 403.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3619, allocations: 0 / 403.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002987/0.3622, allocations: 85.56 kB / 403.9 MB, free: 4.969 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.3623, allocations: 115.1 kB / 404 MB, free: 4.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.3625, allocations: 140.4 kB / 404.1 MB, free: 4.688 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.3625, allocations: 25.7 kB / 404.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.3626, allocations: 96.08 kB / 404.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.3626, allocations: 7.938 kB / 404.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.3627, allocations: 17.72 kB / 404.3 MB, free: 4.527 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3628, allocations: 318.8 kB / 404.6 MB, free: 4.207 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.571e-05/0.3629, allocations: 15.98 kB / 404.6 MB, free: 4.191 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.036e-05/0.363, allocations: 35.41 kB / 404.6 MB, free: 4.145 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.3631, allocations: 59.3 kB / 404.7 MB, free: 4.074 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3631, allocations: 4 kB / 404.7 MB, free: 4.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001405/0.3632, allocations: 61.58 kB / 404.7 MB, free: 4.004 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3633, allocations: 15.92 kB / 404.8 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3633, allocations: 0 / 404.8 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3633, allocations: 4 kB / 404.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.154e-05/0.3634, allocations: 4 kB / 404.8 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.3634, allocations: 4 kB / 404.8 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.3634, allocations: 4.125 kB / 404.8 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.3635, allocations: 7.984 kB / 404.8 MB, free: 3.965 MB / 318.1 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 0.0001021/0.3636, allocations: 117.8 kB / 404.9 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/0.3637, allocations: 61.58 kB / 405 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.3637, allocations: 3.875 kB / 405 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3637, allocations: 4 kB / 405 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3637, allocations: 0 / 405 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3637, allocations: 4 kB / 405 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.364, allocations: 181.6 kB / 405.2 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.364, allocations: 3.938 kB / 405.2 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.219e-05/0.3641, allocations: 8 kB / 405.2 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3641, allocations: 0 / 405.2 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.3641, allocations: 8 kB / 405.2 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3641, allocations: 0 / 405.2 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3641, allocations: 0 / 405.2 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.3643, allocations: 181.1 kB / 405.3 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.731e-05/0.3644, allocations: 101 kB / 405.4 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.3645, allocations: 0 / 405.4 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.934e-05/0.3645, allocations: 0 / 405.4 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.3646, allocations: 4 kB / 405.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.3646, allocations: 0 / 405.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.448e-05/0.3647, allocations: 114.3 kB / 405.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3647, allocations: 0 / 405.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.3649, allocations: 12 kB / 405.6 MB, free: 3.07 MB / 318.1 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.0006076/0.3655, allocations: 0.714 MB / 406.3 MB, free: 2.324 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.3657, allocations: 39.91 kB / 406.3 MB, free: 2.285 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3657, allocations: 0 / 406.3 MB, free: 2.285 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.684e-05/0.3658, allocations: 4 kB / 406.3 MB, free: 2.281 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.3662, allocations: 31.95 kB / 406.4 MB, free: 2.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.3678, allocations: 1.39 MB / 407.8 MB, free: 0.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.3683, allocations: 0.7039 MB / 408.5 MB, free: 20 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.8e-05/0.3683, allocations: 4 kB / 408.5 MB, free: 16 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.3684, allocations: 15.38 kB / 408.5 MB, free: 0 / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3684, allocations: 0 / 408.5 MB, free: 0 / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.3927, allocations: 1.719 MB / 410.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.419/8.812, allocations: 18.66 kB / 410.2 MB, free: 14.39 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches