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.001627/0.001627, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001994/0.001994, allocations: 207.8 kB / 23.73 MB, free: 4.391 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.576/1.576, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.001968/0.001968, allocations: 67.89 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3572, allocations: 53.41 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.00315/0.3604, allocations: 1.568 MB / 432.7 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3614, allocations: 0.4987 MB / 433.2 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.3615, allocations: 7.938 kB / 433.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.539e-05/0.3616, allocations: 7.922 kB / 433.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.3617, allocations: 11.88 kB / 433.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.3621, allocations: 55.81 kB / 433.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.3622, allocations: 43.91 kB / 433.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3623, allocations: 16.11 kB / 433.3 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.3624, allocations: 35.86 kB / 433.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.862e-05/0.3625, allocations: 15.92 kB / 433.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.3625, allocations: 7.938 kB / 433.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.486e-05/0.3625, allocations: 11.98 kB / 433.4 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.3626, allocations: 8 kB / 433.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.3626, allocations: 23.8 kB / 433.4 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.3628, allocations: 53.44 kB / 433.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3628, allocations: 0 / 433.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3628, allocations: 0 / 433.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.3628, allocations: 11.88 kB / 433.5 MB, free: 4.074 MB / 334.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.0004963/0.3633, allocations: 313.9 kB / 433.8 MB, free: 3.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3633, allocations: 15.98 kB / 433.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.3634, allocations: 30.75 kB / 433.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.3635, allocations: 16.88 kB / 433.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.3638, allocations: 149.1 kB / 434 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3638, allocations: 384 / 434 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.3638, allocations: 8.375 kB / 434 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.3641, allocations: 113 kB / 434.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3641, allocations: 0 / 434.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.3641, allocations: 0 / 434.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3641, allocations: 7.984 kB / 434.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.573e-05/0.3642, allocations: 19.92 kB / 434.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.3645, allocations: 232.8 kB / 434.4 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.559e-05/0.3646, allocations: 37.16 kB / 434.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.366e-05/0.3646, allocations: 29.77 kB / 434.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.3646, allocations: 0 / 434.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.3647, allocations: 30.56 kB / 434.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.3647, allocations: 4 kB / 434.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002333/0.3649, allocations: 65.56 kB / 434.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.365, allocations: 85.05 kB / 434.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.3651, allocations: 141.8 kB / 434.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.3651, allocations: 25.7 kB / 434.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.3652, allocations: 88.39 kB / 434.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.3652, allocations: 7.953 kB / 434.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.3652, allocations: 21.66 kB / 434.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3654, allocations: 318.8 kB / 435.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.537e-05/0.3654, allocations: 12 kB / 435.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.989e-05/0.3655, allocations: 17.7 kB / 435.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.859e-05/0.3655, allocations: 29.7 kB / 435.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3655, allocations: 0 / 435.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001158/0.3657, allocations: 61.64 kB / 435.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3657, allocations: 8 kB / 435.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.3657, allocations: 0 / 435.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3657, allocations: 0 / 435.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.3658, allocations: 7.984 kB / 435.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3658, allocations: 0 / 435.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.505e-05/0.3658, allocations: 4 kB / 435.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.3658, allocations: 0 / 435.4 MB, free: 1.977 MB / 334.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 9.835e-05/0.3659, allocations: 126.7 kB / 435.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-05/0.366, allocations: 41.59 kB / 435.5 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.366, allocations: 11.81 kB / 435.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.366, allocations: 0 / 435.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.366, allocations: 3.938 kB / 435.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.366, allocations: 3.984 kB / 435.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.3662, allocations: 140.7 kB / 435.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3662, allocations: 0 / 435.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.332e-05/0.3662, allocations: 7.984 kB / 435.7 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.3662, allocations: 4 kB / 435.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.3662, allocations: 4.031 kB / 435.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3662, allocations: 4 kB / 435.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3662, allocations: 0 / 435.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.3664, allocations: 160.2 kB / 435.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.3664, allocations: 15.94 kB / 435.9 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.3665, allocations: 4 kB / 435.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.068e-05/0.3665, allocations: 0 / 435.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.3665, allocations: 11.92 kB / 435.9 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.3666, allocations: 0 / 435.9 MB, free: 1.371 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.864e-05/0.3666, allocations: 110 kB / 436 MB, free: 1.266 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3666, allocations: 4.031 kB / 436 MB, free: 1.262 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002129/0.3668, allocations: 8 kB / 436 MB, free: 1.254 MB / 334.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.0004703/0.3673, allocations: 0.6859 MB / 436.7 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.3674, allocations: 31.91 kB / 436.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3674, allocations: 0 / 436.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.639e-05/0.3675, allocations: 8.156 kB / 436.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.3678, allocations: 16.02 kB / 436.8 MB, free: 496 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.3691, allocations: 1.328 MB / 438.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.566e-05/0.3692, allocations: 75.33 kB / 438.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.048e-05/0.3692, allocations: 4.188 kB / 438.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.3693, allocations: 15.44 kB / 438.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3693, allocations: 0 / 438.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.398, allocations: 2.113 MB / 440.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.12, allocations: 4.75 kB / 440.3 MB, free: 12.94 MB / 350.1 MB " [Timeout remaining time 649] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 13.770558591932058]