Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008166/0.0008166, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000769/0.000769, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8791/0.8791, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067e-05/1.202e-05, allocations: 6.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.001856/0.001868, allocations: 1.602 MB / 326.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007791/0.002647, allocations: 0.5063 MB / 326.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.927e-05/0.002726, allocations: 8 kB / 326.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.101e-05/0.002767, allocations: 7.875 kB / 326.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.002902, allocations: 15.84 kB / 326.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.003167, allocations: 59.83 kB / 326.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.218e-05/0.003259, allocations: 51.77 kB / 326.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9e-05/0.003349, allocations: 12.19 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.003481, allocations: 31.84 kB / 326.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.462e-05/0.003536, allocations: 19.97 kB / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.003549, allocations: 0 / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.456e-05/0.003583, allocations: 8 kB / 326.9 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.003627, allocations: 19.92 kB / 326.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.003648, allocations: 11.94 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.003771, allocations: 67.72 kB / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.003773, allocations: 0 / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.003774, allocations: 0 / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.003777, allocations: 0 / 327 MB, free: 13.5 MB / 298.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.0003936/0.004171, allocations: 312.8 kB / 327.3 MB, free: 13.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.004208, allocations: 8.031 kB / 327.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.898e-05/0.004237, allocations: 34.75 kB / 327.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.743e-05/0.004335, allocations: 24.81 kB / 327.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.004507, allocations: 138.2 kB / 327.5 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.004515, allocations: 4.375 kB / 327.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-06/0.004524, allocations: 384 / 327.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.004729, allocations: 126 kB / 327.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.004738, allocations: 4 kB / 327.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.004745, allocations: 0 / 327.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.004751, allocations: 7.984 kB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.851e-05/0.0048, allocations: 23.92 kB / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.005042, allocations: 245.7 kB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.139e-05/0.005114, allocations: 67.78 kB / 328 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.005152, allocations: 30.62 kB / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.005173, allocations: 4 kB / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.005194, allocations: 38.5 kB / 328 MB, free: 12.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.005195, allocations: 4 kB / 328 MB, free: 12.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001829/0.005378, allocations: 85.5 kB / 328.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.005428, allocations: 106.8 kB / 328.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.154e-05/0.005519, allocations: 152.8 kB / 328.4 MB, free: 11.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.00553, allocations: 25.7 kB / 328.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.00557, allocations: 96 kB / 328.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.005584, allocations: 4 kB / 328.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.005609, allocations: 18.05 kB / 328.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.52e-05/0.005694, allocations: 322.8 kB / 328.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.703e-05/0.005721, allocations: 7.984 kB / 328.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.664e-05/0.005738, allocations: 8 kB / 328.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.653e-05/0.005775, allocations: 20.78 kB / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005777, allocations: 0 / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.098e-05/0.005838, allocations: 49.69 kB / 328.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.005848, allocations: 4 kB / 328.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.005852, allocations: 4.094 kB / 328.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.005865, allocations: 3.984 kB / 328.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.379e-05/0.005909, allocations: 7.938 kB / 328.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.005913, allocations: 0 / 328.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/0.005929, allocations: 4 kB / 328.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.005934, allocations: 0 / 328.9 MB, free: 11.3 MB / 298.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 6.095e-05/0.005995, allocations: 121.8 kB / 329.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.006038, allocations: 49.66 kB / 329.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.006065, allocations: 11.95 kB / 329.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.006068, allocations: 8.062 kB / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.006071, allocations: 0 / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.006074, allocations: 0 / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.006181, allocations: 148.7 kB / 329.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006182, allocations: 3.938 kB / 329.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.642e-05/0.006208, allocations: 8 kB / 329.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.00621, allocations: 0 / 329.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.006218, allocations: 4 kB / 329.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.006219, allocations: 0 / 329.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.006221, allocations: 3.984 kB / 329.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.006326, allocations: 185.1 kB / 329.5 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.006352, allocations: 11.95 kB / 329.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.006363, allocations: 7.938 kB / 329.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.321e-05/0.006396, allocations: 3.984 kB / 329.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.006422, allocations: 4 kB / 329.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.006425, allocations: 0 / 329.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.762e-05/0.006472, allocations: 119.2 kB / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006472, allocations: 0 / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001383/0.006611, allocations: 4 kB / 329.6 MB, free: 10.54 MB / 298.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.0003238/0.006934, allocations: 0.7063 MB / 330.3 MB, free: 9.805 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.564e-05/0.00702, allocations: 23.92 kB / 330.4 MB, free: 9.781 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.007022, allocations: 0 / 330.4 MB, free: 9.781 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.089e-05/0.007043, allocations: 15.98 kB / 330.4 MB, free: 9.766 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.00729, allocations: 31.83 kB / 330.4 MB, free: 9.734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000906/0.008196, allocations: 1.327 MB / 331.7 MB, free: 8.316 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.734e-05/0.008254, allocations: 83.02 kB / 331.8 MB, free: 8.215 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.794e-05/0.008282, allocations: 12.06 kB / 331.8 MB, free: 8.203 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.008319, allocations: 16.5 kB / 331.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.00832, allocations: 0 / 331.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.02325, allocations: 2.366 MB / 334.2 MB, free: 5.945 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.081/7.105, allocations: 3.984 kB / 334.2 MB, free: 5.941 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.756689613685012]