Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",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.001555/0.001555, allocations: 110.2 kB / 17.06 MB, free: 5.785 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.001548/0.001548, allocations: 193.4 kB / 18.01 MB, free: 4.941 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.689/1.689, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 55.91 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3556, allocations: 49.44 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003518/0.3592, allocations: 1.61 MB / 401.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3603, allocations: 0.5162 MB / 402.4 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.3604, allocations: 3.938 kB / 402.4 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.305e-05/0.3605, allocations: 3.938 kB / 402.4 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.3607, allocations: 11.88 kB / 402.4 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.3611, allocations: 59.81 kB / 402.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.3612, allocations: 55.72 kB / 402.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.3614, allocations: 23.98 kB / 402.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.957e-05/0.3615, allocations: 27.86 kB / 402.6 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.383e-05/0.3616, allocations: 23.86 kB / 402.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.3616, allocations: 4 kB / 402.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.758e-05/0.3617, allocations: 4 kB / 402.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.95e-05/0.3617, allocations: 23.91 kB / 402.6 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.348e-05/0.3618, allocations: 27.75 kB / 402.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.362, allocations: 74.61 kB / 402.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.362, allocations: 0 / 402.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.362, allocations: 0 / 402.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.362, allocations: 0 / 402.7 MB, free: 6.348 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000703/0.3628, allocations: 391 kB / 403.1 MB, free: 5.918 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.3628, allocations: 12.03 kB / 403.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.636e-05/0.3629, allocations: 38.73 kB / 403.1 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.3629, allocations: 8.891 kB / 403.1 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.3633, allocations: 219.7 kB / 403.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.3633, allocations: 4.375 kB / 403.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.3633, allocations: 4.375 kB / 403.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.3637, allocations: 146.8 kB / 403.5 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3637, allocations: 4 kB / 403.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3637, allocations: 0 / 403.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3637, allocations: 0 / 403.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.819e-05/0.3638, allocations: 27.92 kB / 403.5 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.3643, allocations: 295.3 kB / 403.8 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.3644, allocations: 94.42 kB / 403.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.514e-05/0.3645, allocations: 51.48 kB / 404 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.3646, allocations: 0 / 404 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.3646, allocations: 38.5 kB / 404 MB, free: 4.809 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.3646, allocations: 0 / 404 MB, free: 4.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003308/0.365, allocations: 102 kB / 404.1 MB, free: 4.703 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.3651, allocations: 136.5 kB / 404.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.3653, allocations: 150.5 kB / 404.4 MB, free: 4.379 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.3653, allocations: 25.7 kB / 404.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.547e-05/0.3654, allocations: 92.14 kB / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.3654, allocations: 7.891 kB / 404.5 MB, free: 4.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.3654, allocations: 21.7 kB / 404.5 MB, free: 4.219 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3656, allocations: 326.8 kB / 404.9 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.844e-05/0.3657, allocations: 7.984 kB / 404.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.3657, allocations: 49.14 kB / 404.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.3659, allocations: 69.02 kB / 405 MB, free: 3.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3659, allocations: 0 / 405 MB, free: 3.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001621/0.3661, allocations: 89.56 kB / 405.1 MB, free: 3.637 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3661, allocations: 4 kB / 405.1 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.3661, allocations: 7.984 kB / 405.1 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.3661, allocations: 0 / 405.1 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/0.3662, allocations: 15.98 kB / 405.1 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3662, allocations: 0 / 405.1 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.3663, allocations: 8.125 kB / 405.1 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.3663, allocations: 8 kB / 405.1 MB, free: 3.594 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.0001348/0.3664, allocations: 129.8 kB / 405.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.3666, allocations: 69.55 kB / 405.3 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.3666, allocations: 15.86 kB / 405.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3666, allocations: 0 / 405.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3666, allocations: 0 / 405.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3666, allocations: 4 kB / 405.3 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.3669, allocations: 177.6 kB / 405.5 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3669, allocations: 0 / 405.5 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.405e-05/0.367, allocations: 15.98 kB / 405.5 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.367, allocations: 4.094 kB / 405.5 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.367, allocations: 3.938 kB / 405.5 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.429e-05/0.3671, allocations: 4 kB / 405.5 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3671, allocations: 0 / 405.5 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.3673, allocations: 201.9 kB / 405.7 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.554e-05/0.3675, allocations: 96.98 kB / 405.8 MB, free: 2.773 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.3675, allocations: 4 kB / 405.8 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.3676, allocations: 3.984 kB / 405.8 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.3676, allocations: 8 kB / 405.8 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.3676, allocations: 4 kB / 405.8 MB, free: 2.754 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.3677, allocations: 114.1 kB / 405.9 MB, free: 2.645 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.785e-06/0.3677, allocations: 0 / 405.9 MB, free: 2.645 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.368, allocations: 7.938 kB / 406 MB, free: 2.637 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0006351/0.3686, allocations: 0.7421 MB / 406.7 MB, free: 1.859 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.3688, allocations: 47.91 kB / 406.7 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3688, allocations: 0 / 406.7 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.3689, allocations: 7.938 kB / 406.8 MB, free: 1.805 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.3693, allocations: 53.09 kB / 406.8 MB, free: 1.758 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.371, allocations: 1.489 MB / 408.3 MB, free: 148 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.3714, allocations: 0.6961 MB / 409 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.796e-05/0.3715, allocations: 12.66 kB / 409 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/0.3715, allocations: 19.44 kB / 409 MB, free: 15.39 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3715, allocations: 0 / 409 MB, free: 15.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.3966, allocations: 2.036 MB / 411.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.647/9.044, allocations: 8.672 kB / 411.1 MB, free: 13.47 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches