Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.0008422/0.0008422, allocations: 76.36 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009087/0.0009087, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8795/0.8795, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.252e-05, allocations: 3.547 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.00253/0.002553, allocations: 1.567 MB / 326.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007604/0.003313, allocations: 0.5297 MB / 326.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.781e-05/0.003391, allocations: 3.938 kB / 326.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.163e-05/0.003433, allocations: 3.938 kB / 326.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.003573, allocations: 15.88 kB / 326.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.003862, allocations: 63.73 kB / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.227e-05/0.003954, allocations: 43.8 kB / 326.7 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.004063, allocations: 24.09 kB / 326.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.00418, allocations: 35.84 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.351e-05/0.004224, allocations: 7.984 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.004239, allocations: 4 kB / 326.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.515e-05/0.004274, allocations: 11.98 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.763e-05/0.004312, allocations: 11.94 kB / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.004333, allocations: 15.92 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.004449, allocations: 59.8 kB / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004451, allocations: 0 / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004452, allocations: 4 kB / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.004455, allocations: 0 / 326.9 MB, free: 13.48 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.0004736/0.004929, allocations: 301.9 kB / 327.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.004975, allocations: 15.98 kB / 327.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.005009, allocations: 38.73 kB / 327.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.005151, allocations: 12.89 kB / 327.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.005399, allocations: 153.5 kB / 327.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.005409, allocations: 4.359 kB / 327.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.005418, allocations: 4.375 kB / 327.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.005669, allocations: 109.5 kB / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.005676, allocations: 192 / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.005686, allocations: 3.938 kB / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.005693, allocations: 4 kB / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.583e-05/0.005739, allocations: 19.98 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000253/0.005992, allocations: 224.8 kB / 327.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.714e-05/0.006059, allocations: 49.14 kB / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.978e-05/0.006089, allocations: 17.78 kB / 327.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.006107, allocations: 0 / 327.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.006129, allocations: 42.48 kB / 327.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.00613, allocations: 0 / 327.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001734/0.006303, allocations: 69.8 kB / 327.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.006345, allocations: 77.11 kB / 328 MB, free: 12.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.00645, allocations: 148.7 kB / 328.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.006461, allocations: 29.7 kB / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.006503, allocations: 88.14 kB / 328.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.006519, allocations: 7.938 kB / 328.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.006545, allocations: 13.72 kB / 328.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.006633, allocations: 314.8 kB / 328.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.164e-05/0.006685, allocations: 11.98 kB / 328.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.729e-05/0.006702, allocations: 4.031 kB / 328.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.905e-05/0.006751, allocations: 32.84 kB / 328.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.006753, allocations: 0 / 328.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.543e-05/0.006828, allocations: 57.52 kB / 328.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.006843, allocations: 4 kB / 328.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.006848, allocations: 0 / 328.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.006862, allocations: 4 kB / 328.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.61e-05/0.006918, allocations: 3.984 kB / 328.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.006923, allocations: 0 / 328.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.857e-05/0.006941, allocations: 8.031 kB / 328.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.006948, allocations: 3.984 kB / 328.7 MB, free: 11.41 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.858e-05/0.007017, allocations: 113.8 kB / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.007057, allocations: 45.59 kB / 328.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.007084, allocations: 11.77 kB / 328.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.007086, allocations: 3.938 kB / 328.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.007091, allocations: 0 / 328.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.007094, allocations: 0 / 328.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.007207, allocations: 144.7 kB / 329.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007209, allocations: 4.031 kB / 329.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.007233, allocations: 4 kB / 329.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.007234, allocations: 0 / 329.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.007241, allocations: 7.984 kB / 329.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.007243, allocations: 3.938 kB / 329.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.007245, allocations: 0 / 329.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.007354, allocations: 160.3 kB / 329.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.007385, allocations: 11.94 kB / 329.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.007397, allocations: 4 kB / 329.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.147e-05/0.007429, allocations: 4.031 kB / 329.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.007455, allocations: 11.92 kB / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.007458, allocations: 4 kB / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.983e-05/0.007507, allocations: 107.3 kB / 329.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007507, allocations: 0 / 329.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000137/0.007644, allocations: 4 kB / 329.4 MB, free: 10.71 MB / 298.7 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.0002699/0.007914, allocations: 0.6859 MB / 330.1 MB, free: 9.992 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.253e-05/0.008007, allocations: 27.95 kB / 330.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.008009, allocations: 0 / 330.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.115e-05/0.00803, allocations: 15.98 kB / 330.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.008292, allocations: 26.39 kB / 330.1 MB, free: 9.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000833/0.009125, allocations: 1.301 MB / 331.4 MB, free: 8.543 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.674e-05/0.009182, allocations: 83.33 kB / 331.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.836e-05/0.009211, allocations: 3.984 kB / 331.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.009252, allocations: 20.48 kB / 331.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of SimCode: time 6.02e-07/0.009252, allocations: 0 / 331.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.02583, allocations: 2.223 MB / 333.8 MB, free: 6.289 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.631/6.657, allocations: 3.938 kB / 333.8 MB, free: 6.285 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.30143345426768]