Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001556/0.001556, allocations: 118.6 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001607/0.001607, allocations: 214.6 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 63.91 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09592, allocations: 53.31 MB / 426.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.00269/0.09861, allocations: 1.603 MB / 428.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009508/0.09956, allocations: 0.5454 MB / 428.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.09963, allocations: 4 kB / 428.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.23e-05/0.09968, allocations: 7.938 kB / 428.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.09981, allocations: 11.86 kB / 428.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.1001, allocations: 59.81 kB / 428.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.1002, allocations: 51.78 kB / 428.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.1003, allocations: 12.17 kB / 429 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.1004, allocations: 31.92 kB / 429 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.014e-05/0.1005, allocations: 19.86 kB / 429 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1005, allocations: 4 kB / 429 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.932e-05/0.1005, allocations: 12 kB / 429 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.1006, allocations: 15.92 kB / 429 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.1006, allocations: 27.8 kB / 429.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.1008, allocations: 59.62 kB / 429.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1008, allocations: 0 / 429.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1008, allocations: 0 / 429.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.1008, allocations: 0 / 429.1 MB, free: 2.531 MB / 350.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.0005135/0.1013, allocations: 393.8 kB / 429.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1013, allocations: 12.03 kB / 429.5 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/0.1014, allocations: 30.75 kB / 429.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.1015, allocations: 20.88 kB / 429.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.1018, allocations: 211.5 kB / 429.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1018, allocations: 4.125 kB / 429.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.1018, allocations: 8 kB / 429.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.1021, allocations: 117.8 kB / 429.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1021, allocations: 0 / 429.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1021, allocations: 3.984 kB / 429.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1021, allocations: 0 / 429.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.756e-05/0.1022, allocations: 19.98 kB / 429.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.1025, allocations: 282.5 kB / 430.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.1026, allocations: 63.78 kB / 430.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.402e-05/0.1027, allocations: 34.62 kB / 430.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1027, allocations: 7.984 kB / 430.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1027, allocations: 30.56 kB / 430.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.1027, allocations: 4 kB / 430.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002678/0.103, allocations: 89.45 kB / 430.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.1031, allocations: 111.2 kB / 430.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.1032, allocations: 145.8 kB / 430.7 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1032, allocations: 29.7 kB / 430.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.1033, allocations: 88.08 kB / 430.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.1033, allocations: 7.984 kB / 430.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.1033, allocations: 21.67 kB / 430.8 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1034, allocations: 314.8 kB / 431.1 MB, free: 252 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-05/0.1035, allocations: 15.98 kB / 431.1 MB, free: 236 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.006e-05/0.1035, allocations: 31.42 kB / 431.2 MB, free: 192 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.807e-05/0.1036, allocations: 51.36 kB / 431.2 MB, free: 128 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1036, allocations: 0 / 431.2 MB, free: 128 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001306/0.1038, allocations: 65.56 kB / 431.3 MB, free: 56 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1038, allocations: 4 kB / 431.3 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1038, allocations: 7.984 kB / 431.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1038, allocations: 0 / 431.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.061e-05/0.1039, allocations: 12 kB / 431.3 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1039, allocations: 3.938 kB / 431.3 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.897e-05/0.1039, allocations: 12.06 kB / 431.3 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1039, allocations: 3.984 kB / 431.3 MB, free: 12 kB / 350.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.0001028/0.104, allocations: 121.8 kB / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.1041, allocations: 57.53 kB / 431.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.1042, allocations: 15.88 kB / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1042, allocations: 0 / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1042, allocations: 7.938 kB / 431.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1042, allocations: 0 / 431.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.1044, allocations: 177.7 kB / 431.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1044, allocations: 0 / 431.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.1044, allocations: 8 kB / 431.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1044, allocations: 0 / 431.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.1044, allocations: 0 / 431.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.1044, allocations: 4 kB / 431.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.1044, allocations: 11.86 kB / 431.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.1046, allocations: 177.2 kB / 431.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.1047, allocations: 93.03 kB / 432 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.1047, allocations: 4 kB / 432 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.774e-05/0.1048, allocations: 4 kB / 432 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.1048, allocations: 7.938 kB / 432 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.1048, allocations: 0 / 432 MB, free: 15.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.04e-05/0.1049, allocations: 113.9 kB / 432.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1049, allocations: 0 / 432.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002173/0.1051, allocations: 8 kB / 432.1 MB, free: 15.11 MB / 366.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.0004587/0.1056, allocations: 0.7024 MB / 432.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.1057, allocations: 43.91 kB / 432.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1057, allocations: 3.938 kB / 432.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.373e-05/0.1057, allocations: 8 kB / 432.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.106, allocations: 28.08 kB / 432.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.1074, allocations: 1.401 MB / 434.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.1077, allocations: 0.6963 MB / 435 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.246e-05/0.1078, allocations: 4 kB / 435 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.1078, allocations: 19.42 kB / 435 MB, free: 12.04 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1078, allocations: 0 / 435 MB, free: 12.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.1301, allocations: 1.702 MB / 436.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/7.618, allocations: 15.86 kB / 436.8 MB, free: 10.42 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 10.088872786145657]