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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 76.06 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9216/0.9216, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 318.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.607e-05, allocations: 6.219 kB / 318.5 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002351/0.002377, allocations: 1.566 MB / 320 MB, free: 4.641 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000664/0.003041, allocations: 458.8 kB / 320.5 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.003146, allocations: 3.938 kB / 320.5 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.62e-05/0.003202, allocations: 7.875 kB / 320.5 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.003358, allocations: 15.88 kB / 320.5 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.003609, allocations: 51.81 kB / 320.5 MB, free: 4.109 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.795e-05/0.003707, allocations: 51.78 kB / 320.6 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.965e-05/0.003806, allocations: 12.17 kB / 320.6 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.59e-05/0.003892, allocations: 35.83 kB / 320.6 MB, free: 4.012 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.506e-05/0.003947, allocations: 11.98 kB / 320.7 MB, free: 4 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.003977, allocations: 4 kB / 320.7 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.003989, allocations: 4 kB / 320.7 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.905e-05/0.004048, allocations: 15.92 kB / 320.7 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.004076, allocations: 15.92 kB / 320.7 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.004193, allocations: 59.73 kB / 320.8 MB, free: 3.902 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.004195, allocations: 0 / 320.8 MB, free: 3.902 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.004196, allocations: 0 / 320.8 MB, free: 3.902 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.0042, allocations: 0 / 320.8 MB, free: 3.902 MB / 282.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.0003893/0.004589, allocations: 301.3 kB / 321 MB, free: 3.582 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.004631, allocations: 8.922 kB / 321.1 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.004669, allocations: 38.73 kB / 321.1 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.004696, allocations: 12.84 kB / 321.1 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.004928, allocations: 145.5 kB / 321.2 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.004937, allocations: 384 / 321.2 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.004947, allocations: 8.375 kB / 321.3 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.005187, allocations: 114.4 kB / 321.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.005194, allocations: 192 / 321.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.005204, allocations: 7.922 kB / 321.4 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.005209, allocations: 4 kB / 321.4 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.836e-05/0.005258, allocations: 27.92 kB / 321.4 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002491/0.005507, allocations: 229.8 kB / 321.6 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.122e-05/0.005598, allocations: 71.72 kB / 321.7 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.005641, allocations: 38.62 kB / 321.7 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.00566, allocations: 0 / 321.7 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.005683, allocations: 42.5 kB / 321.8 MB, free: 2.699 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.005684, allocations: 0 / 321.8 MB, free: 2.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001902/0.005874, allocations: 85.75 kB / 321.9 MB, free: 2.609 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.005922, allocations: 102.8 kB / 322 MB, free: 2.484 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/0.00602, allocations: 145.8 kB / 322.1 MB, free: 2.332 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.006031, allocations: 25.7 kB / 322.1 MB, free: 2.301 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.006078, allocations: 88.14 kB / 322.2 MB, free: 2.211 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.006093, allocations: 3.953 kB / 322.2 MB, free: 2.207 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.00612, allocations: 13.72 kB / 322.2 MB, free: 2.188 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.006196, allocations: 318.8 kB / 322.5 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.006217, allocations: 4 kB / 322.5 MB, free: 1.863 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.692e-05/0.006234, allocations: 24.05 kB / 322.6 MB, free: 1.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.902e-05/0.006273, allocations: 20.84 kB / 322.6 MB, free: 1.816 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.006275, allocations: 0 / 322.6 MB, free: 1.816 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.131e-05/0.006336, allocations: 53.58 kB / 322.6 MB, free: 1.758 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.006348, allocations: 4 kB / 322.6 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.006352, allocations: 0 / 322.6 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.006362, allocations: 0 / 322.6 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.192e-05/0.006414, allocations: 8.031 kB / 322.7 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.00642, allocations: 7.984 kB / 322.7 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.006436, allocations: 4 kB / 322.7 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.006442, allocations: 0 / 322.7 MB, free: 1.734 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.799e-05/0.0065, allocations: 117.8 kB / 322.8 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.006543, allocations: 57.58 kB / 322.8 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.006566, allocations: 7.969 kB / 322.8 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.006568, allocations: 4 kB / 322.9 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.006572, allocations: 0 / 322.9 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.006576, allocations: 3.984 kB / 322.9 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.006677, allocations: 144.8 kB / 323 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.006679, allocations: 4 kB / 323 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.006713, allocations: 15.92 kB / 323 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.006714, allocations: 0 / 323 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.006721, allocations: 4 kB / 323 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006722, allocations: 0 / 323 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.006723, allocations: 0 / 323 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.006834, allocations: 181.1 kB / 323.2 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.006873, allocations: 19.88 kB / 323.2 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.006884, allocations: 8 kB / 323.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-05/0.006918, allocations: 0 / 323.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.006944, allocations: 4 kB / 323.2 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.006948, allocations: 3.984 kB / 323.2 MB, free: 1.086 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.079e-05/0.006999, allocations: 114 kB / 323.3 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006999, allocations: 0 / 323.3 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001442/0.007143, allocations: 8 kB / 323.4 MB, free: 0.9688 MB / 282.7 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.0003254/0.007469, allocations: 0.7023 MB / 324.1 MB, free: 240 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.721e-05/0.007566, allocations: 31.92 kB / 324.1 MB, free: 208 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007567, allocations: 0 / 324.1 MB, free: 208 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.92e-05/0.007587, allocations: 8 kB / 324.1 MB, free: 200 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.007859, allocations: 27.95 kB / 324.1 MB, free: 172 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008887/0.008747, allocations: 1.318 MB / 325.4 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.867e-05/0.008806, allocations: 79.33 kB / 325.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.691e-05/0.008843, allocations: 3.984 kB / 325.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.008882, allocations: 20.44 kB / 325.5 MB, free: 14.64 MB / 298.7 MB Notification: Performance of SimCode: time 3.5e-07/0.008882, allocations: 0 / 325.5 MB, free: 14.64 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.02477, allocations: 2.335 MB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.688/6.712, allocations: 7.188 kB / 327.9 MB, free: 12.43 MB / 298.7 MB " [Timeout remaining time 653] (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 --stepSize=3.99122e-05 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.464617216028273]