Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001473/0.001473, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.00156/0.00156, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.369/1.369, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.ClockSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 63.89 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09749/0.09926, allocations: 53.31 MB / 426.6 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002632/0.1019, allocations: 1.573 MB / 428.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009149/0.1028, allocations: 0.5376 MB / 428.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.1029, allocations: 0 / 428.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.136e-05/0.1029, allocations: 7.922 kB / 428.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.103, allocations: 11.88 kB / 428.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.1033, allocations: 67.8 kB / 428.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.1034, allocations: 43.8 kB / 428.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.962e-05/0.1035, allocations: 20.11 kB / 428.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.1036, allocations: 27.91 kB / 428.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.646e-05/0.1037, allocations: 23.86 kB / 429 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.1037, allocations: 0 / 429 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.168e-05/0.1037, allocations: 12 kB / 429 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.308e-05/0.1038, allocations: 15.92 kB / 429 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.1038, allocations: 23.75 kB / 429 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.104, allocations: 59.73 kB / 429.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.104, allocations: 3.938 kB / 429.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.104, allocations: 4 kB / 429.1 MB, free: 2.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.104, allocations: 4 kB / 429.1 MB, free: 2.57 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.0004698/0.1044, allocations: 375.1 kB / 429.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1045, allocations: 12.03 kB / 429.5 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.1045, allocations: 34.73 kB / 429.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.1047, allocations: 16.89 kB / 429.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.1049, allocations: 210.9 kB / 429.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1049, allocations: 4.375 kB / 429.7 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.1049, allocations: 8.312 kB / 429.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.1052, allocations: 105 kB / 429.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1052, allocations: 0 / 429.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.1052, allocations: 4 kB / 429.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1052, allocations: 4 kB / 429.8 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.135e-05/0.1053, allocations: 19.98 kB / 429.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.1056, allocations: 257.8 kB / 430.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.523e-05/0.1057, allocations: 49.14 kB / 430.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.1057, allocations: 21.77 kB / 430.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.1057, allocations: 0 / 430.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1058, allocations: 34.5 kB / 430.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.1058, allocations: 3.938 kB / 430.2 MB, free: 1.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002313/0.106, allocations: 73.84 kB / 430.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.106, allocations: 81.05 kB / 430.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.1062, allocations: 137.8 kB / 430.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1062, allocations: 25.7 kB / 430.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.1062, allocations: 92.12 kB / 430.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.1063, allocations: 7.953 kB / 430.6 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.1063, allocations: 9.719 kB / 430.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1064, allocations: 322.8 kB / 430.9 MB, free: 456 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.852e-05/0.1065, allocations: 12.02 kB / 431 MB, free: 444 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.014e-05/0.1065, allocations: 25.7 kB / 431 MB, free: 412 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.716e-05/0.1066, allocations: 17.72 kB / 431 MB, free: 388 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1066, allocations: 3.938 kB / 431 MB, free: 384 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001118/0.1067, allocations: 61.69 kB / 431.1 MB, free: 316 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1067, allocations: 11.94 kB / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1067, allocations: 0 / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1067, allocations: 0 / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/0.1068, allocations: 4 kB / 431.1 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1068, allocations: 4 kB / 431.1 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.323e-05/0.1068, allocations: 3.984 kB / 431.1 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1068, allocations: 3.938 kB / 431.1 MB, free: 288 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.915e-05/0.1069, allocations: 125.8 kB / 431.2 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.107, allocations: 41.64 kB / 431.3 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.107, allocations: 11.86 kB / 431.3 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.107, allocations: 0 / 431.3 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.107, allocations: 0 / 431.3 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.107, allocations: 4 kB / 431.3 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.1072, allocations: 169.6 kB / 431.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1072, allocations: 0 / 431.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.1072, allocations: 7.984 kB / 431.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1072, allocations: 4 kB / 431.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.1072, allocations: 4.031 kB / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1072, allocations: 0 / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1072, allocations: 0 / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.1074, allocations: 164.2 kB / 431.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.1075, allocations: 93.05 kB / 431.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1075, allocations: 7.922 kB / 431.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.1075, allocations: 8.031 kB / 431.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.1076, allocations: 4 kB / 431.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.1076, allocations: 0 / 431.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.884e-05/0.1077, allocations: 113.7 kB / 431.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1077, allocations: 0 / 431.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002083/0.1079, allocations: 4 kB / 431.8 MB, free: 15.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004491/0.1083, allocations: 0.6976 MB / 432.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.1084, allocations: 19.98 kB / 432.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1085, allocations: 0 / 432.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.66e-05/0.1085, allocations: 8.094 kB / 432.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.1088, allocations: 20.08 kB / 432.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.1101, allocations: 1.334 MB / 433.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.1104, allocations: 0.6924 MB / 434.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.672e-05/0.1104, allocations: 0 / 434.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.1104, allocations: 15.44 kB / 434.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1104, allocations: 0 / 434.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.1322, allocations: 1.574 MB / 436.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.448/7.58, allocations: 6.641 kB / 436.2 MB, free: 11.03 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.039813715033233]