Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",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.001982/0.00199, allocations: 109.1 kB / 17.06 MB, free: 6.02 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.002282/0.002282, allocations: 199 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 2.812/2.812, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 43.94 kB / 350.8 MB, free: 3.781 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6129/0.6149, allocations: 49.44 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.006151/0.6211, allocations: 1.572 MB / 401.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.6229, allocations: 486.9 kB / 402.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.6231, allocations: 0 / 402.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.033e-05/0.6233, allocations: 7.875 kB / 402.3 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.6235, allocations: 7.938 kB / 402.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005069/0.6241, allocations: 51.81 kB / 402.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.6243, allocations: 47.8 kB / 402.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.6245, allocations: 24.16 kB / 402.4 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.6246, allocations: 15.94 kB / 402.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.912e-05/0.6247, allocations: 19.86 kB / 402.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.6248, allocations: 4 kB / 402.5 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.004e-05/0.6248, allocations: 4 kB / 402.5 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.599e-05/0.6249, allocations: 15.92 kB / 402.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.625, allocations: 23.81 kB / 402.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.6252, allocations: 63.73 kB / 402.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.6252, allocations: 0 / 402.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.057e-06/0.6253, allocations: 0 / 402.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.6253, allocations: 0 / 402.6 MB, free: 6.492 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.0007665/0.626, allocations: 376.8 kB / 402.9 MB, free: 6.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.427e-05/0.6261, allocations: 16.02 kB / 403 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.516e-05/0.6262, allocations: 30.75 kB / 403 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.6263, allocations: 8.844 kB / 403 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/0.6267, allocations: 204.1 kB / 403.2 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.6268, allocations: 4.375 kB / 403.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.6268, allocations: 384 / 403.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000439/0.6273, allocations: 121.8 kB / 403.3 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.6273, allocations: 0 / 403.3 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.6273, allocations: 7.984 kB / 403.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.6273, allocations: 4 kB / 403.3 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.6275, allocations: 23.92 kB / 403.3 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005113/0.628, allocations: 274.5 kB / 403.6 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.6282, allocations: 71.8 kB / 403.7 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.6283, allocations: 38.56 kB / 403.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.6284, allocations: 7.875 kB / 403.7 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.6284, allocations: 34.56 kB / 403.8 MB, free: 5.078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.684e-06/0.6284, allocations: 0 / 403.8 MB, free: 5.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004456/0.6289, allocations: 85.5 kB / 403.9 MB, free: 4.988 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.629, allocations: 114.8 kB / 404 MB, free: 4.852 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.6292, allocations: 138.2 kB / 404.1 MB, free: 4.707 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.6292, allocations: 29.7 kB / 404.1 MB, free: 4.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/0.6293, allocations: 96.12 kB / 404.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.6294, allocations: 0 / 404.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.6295, allocations: 17.72 kB / 404.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6296, allocations: 322.8 kB / 404.6 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.985e-05/0.6297, allocations: 8 kB / 404.6 MB, free: 4.219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.706e-05/0.6298, allocations: 35.42 kB / 404.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.6299, allocations: 47.36 kB / 404.6 MB, free: 4.113 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6299, allocations: 0 / 404.6 MB, free: 4.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002183/0.6302, allocations: 73.52 kB / 404.7 MB, free: 4.035 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.6302, allocations: 8 kB / 404.7 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6302, allocations: 0 / 404.7 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.6303, allocations: 0 / 404.7 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.6304, allocations: 11.94 kB / 404.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.6304, allocations: 3.984 kB / 404.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.391e-05/0.6305, allocations: 7.938 kB / 404.7 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.6305, allocations: 4 kB / 404.7 MB, free: 4 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.0001367/0.6307, allocations: 121.9 kB / 404.9 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.6308, allocations: 57.53 kB / 404.9 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.6309, allocations: 7.875 kB / 404.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.6309, allocations: 4 kB / 404.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.6309, allocations: 0 / 404.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.6309, allocations: 3.984 kB / 404.9 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.6312, allocations: 173.6 kB / 405.1 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.6312, allocations: 0 / 405.1 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.987e-05/0.6313, allocations: 8 kB / 405.1 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.6314, allocations: 0 / 405.1 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.6314, allocations: 12.05 kB / 405.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.6314, allocations: 4 kB / 405.1 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.6314, allocations: 0 / 405.1 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.6317, allocations: 181 kB / 405.3 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.124e-05/0.6318, allocations: 93 kB / 405.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.6319, allocations: 12 kB / 405.4 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.632, allocations: 4 kB / 405.4 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.6321, allocations: 4 kB / 405.4 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.6321, allocations: 0 / 405.4 MB, free: 3.219 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.6322, allocations: 117.9 kB / 405.5 MB, free: 3.105 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6322, allocations: 0 / 405.5 MB, free: 3.105 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004703/0.6327, allocations: 8 kB / 405.5 MB, free: 3.098 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.000851/0.6336, allocations: 0.7253 MB / 406.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.6338, allocations: 27.92 kB / 406.3 MB, free: 2.316 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6338, allocations: 256 / 406.3 MB, free: 2.316 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.118e-05/0.6339, allocations: 15.98 kB / 406.3 MB, free: 2.301 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.6345, allocations: 24.22 kB / 406.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.6369, allocations: 1.392 MB / 407.7 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.6375, allocations: 0.6961 MB / 408.4 MB, free: 52 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.805e-05/0.6375, allocations: 8 kB / 408.4 MB, free: 44 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.266e-05/0.6376, allocations: 11.44 kB / 408.4 MB, free: 32 kB / 318.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6376, allocations: 0 / 408.4 MB, free: 32 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1396/0.7773, allocations: 1.704 MB / 410.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.2, allocations: 8.438 kB / 410.2 MB, free: 14.44 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches