Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.00095/0.00095, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.001007/0.001007, allocations: 160.9 kB / 23.95 MB, free: 0.6133 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.9031/0.9031, allocations: 177 MB / 204.1 MB, free: 5.75 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.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.001e-05, allocations: 4.953 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.001998/0.002018, allocations: 1.575 MB / 326.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007229/0.002741, allocations: 0.4986 MB / 326.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.617e-05/0.002827, allocations: 7.875 kB / 326.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.36e-05/0.002891, allocations: 3.938 kB / 326.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.003047, allocations: 11.94 kB / 326.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.003353, allocations: 55.75 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.003458, allocations: 35.86 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.812e-05/0.003556, allocations: 8 kB / 326.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.003692, allocations: 35.83 kB / 326.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.288e-05/0.003745, allocations: 19.92 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.003761, allocations: 0 / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.246e-05/0.003803, allocations: 8 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.143e-05/0.003855, allocations: 15.92 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.003877, allocations: 11.98 kB / 326.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.004016, allocations: 51.75 kB / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004018, allocations: 0 / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.00402, allocations: 0 / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.004025, allocations: 0 / 326.9 MB, free: 13.53 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003831/0.004408, allocations: 298 kB / 327.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.004449, allocations: 11.98 kB / 327.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.004482, allocations: 42.73 kB / 327.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.004588, allocations: 12.89 kB / 327.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.004773, allocations: 133.6 kB / 327.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.004783, allocations: 4.375 kB / 327.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.004793, allocations: 4.375 kB / 327.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.004983, allocations: 85.67 kB / 327.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.00499, allocations: 192 / 327.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.005, allocations: 16.06 kB / 327.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.005005, allocations: 0 / 327.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.991e-05/0.005045, allocations: 11.98 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.005295, allocations: 240.8 kB / 327.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.194e-05/0.005387, allocations: 45.14 kB / 327.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/0.005426, allocations: 33.7 kB / 327.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.005443, allocations: 0 / 327.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.005466, allocations: 34.56 kB / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.005467, allocations: 0 / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001887/0.005656, allocations: 69.56 kB / 327.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.005706, allocations: 85.05 kB / 328 MB, free: 12.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/0.005798, allocations: 137.4 kB / 328.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.005807, allocations: 25.7 kB / 328.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.005848, allocations: 92.38 kB / 328.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.005861, allocations: 4 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.005887, allocations: 17.67 kB / 328.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.769e-05/0.005965, allocations: 314.8 kB / 328.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.005989, allocations: 11.92 kB / 328.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.713e-05/0.006007, allocations: 12 kB / 328.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.006047, allocations: 16.84 kB / 328.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006049, allocations: 0 / 328.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.746e-05/0.006116, allocations: 61.62 kB / 328.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.00613, allocations: 7.281 kB / 328.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.006135, allocations: 3.938 kB / 328.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.006147, allocations: 0 / 328.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.52e-05/0.006202, allocations: 7.984 kB / 328.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.006206, allocations: 0 / 328.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.006223, allocations: 4 kB / 328.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.006228, allocations: 0 / 328.7 MB, free: 11.5 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.098e-05/0.006289, allocations: 117.8 kB / 328.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.006324, allocations: 45.62 kB / 328.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.00635, allocations: 11.77 kB / 328.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.006352, allocations: 4 kB / 328.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.006357, allocations: 0 / 328.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.006361, allocations: 3.984 kB / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.00647, allocations: 132.8 kB / 329 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.006471, allocations: 3.938 kB / 329 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.236e-05/0.006494, allocations: 4 kB / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.006497, allocations: 3.984 kB / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.006504, allocations: 4 kB / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.006507, allocations: 3.938 kB / 329 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.006508, allocations: 12.02 kB / 329 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.725e-05/0.006606, allocations: 152.4 kB / 329.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/0.006636, allocations: 15.88 kB / 329.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.006647, allocations: 4 kB / 329.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.056e-05/0.006677, allocations: 4 kB / 329.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.006705, allocations: 3.984 kB / 329.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.006707, allocations: 0 / 329.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.822e-05/0.006755, allocations: 107.3 kB / 329.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006756, allocations: 0 / 329.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001363/0.006892, allocations: 8.031 kB / 329.3 MB, free: 10.79 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.0002648/0.007157, allocations: 0.6936 MB / 330 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.402e-05/0.007241, allocations: 15.98 kB / 330 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.007242, allocations: 0 / 330 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.014e-05/0.007262, allocations: 15.92 kB / 330 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.007511, allocations: 16.19 kB / 330 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008123/0.008323, allocations: 1.297 MB / 331.3 MB, free: 8.637 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.237e-05/0.008376, allocations: 71.33 kB / 331.4 MB, free: 8.547 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.02e-05/0.008406, allocations: 8.125 kB / 331.4 MB, free: 8.539 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.579e-05/0.008452, allocations: 16.5 kB / 331.4 MB, free: 8.523 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008452, allocations: 4.031 kB / 331.4 MB, free: 8.52 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.02477, allocations: 2.142 MB / 333.6 MB, free: 6.473 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.54/6.565, allocations: 6.797 kB / 333.6 MB, free: 6.469 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.234702334739268]