Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.0009933/0.0009933, allocations: 80.34 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.0008498/0.0008498, allocations: 156.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.8702/0.8702, allocations: 177 MB / 204.1 MB, free: 5.738 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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.218e-05, allocations: 3.125 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.00206/0.002082, allocations: 1.608 MB / 326.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007179/0.0028, allocations: 0.5336 MB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.04e-05/0.00288, allocations: 3.938 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.145e-05/0.002922, allocations: 3.938 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.00306, allocations: 15.86 kB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.003348, allocations: 67.67 kB / 326.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.003448, allocations: 51.73 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.003544, allocations: 16.16 kB / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.003658, allocations: 31.92 kB / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.69e-05/0.003705, allocations: 19.91 kB / 326.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.003722, allocations: 8 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.371e-05/0.003755, allocations: 4 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.003794, allocations: 15.92 kB / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.807e-05/0.003812, allocations: 12 kB / 326.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.003929, allocations: 67.7 kB / 327 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003931, allocations: 0 / 327 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.003932, allocations: 0 / 327 MB, free: 13.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.003935, allocations: 0 / 327 MB, free: 13.4 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.0003336/0.004269, allocations: 305.9 kB / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.004304, allocations: 11.98 kB / 327.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.744e-05/0.004331, allocations: 38.75 kB / 327.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.183e-05/0.004423, allocations: 20.88 kB / 327.3 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.004605, allocations: 142.2 kB / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.004613, allocations: 384 / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.004623, allocations: 8.312 kB / 327.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.004832, allocations: 122 kB / 327.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.00484, allocations: 4 kB / 327.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.004847, allocations: 0 / 327.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.004851, allocations: 0 / 327.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.763e-05/0.004899, allocations: 27.92 kB / 327.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.005149, allocations: 241.6 kB / 327.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.488e-05/0.005224, allocations: 67.73 kB / 327.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.788e-05/0.005262, allocations: 34.62 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.005282, allocations: 7.938 kB / 328 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.005303, allocations: 38.56 kB / 328 MB, free: 12.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.005303, allocations: 0 / 328 MB, free: 12.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001914/0.005495, allocations: 89.55 kB / 328.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.005548, allocations: 106.8 kB / 328.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.422e-05/0.005642, allocations: 148.8 kB / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.005653, allocations: 25.7 kB / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.005694, allocations: 92.52 kB / 328.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.005705, allocations: 4 kB / 328.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.005732, allocations: 17.67 kB / 328.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.836e-05/0.00581, allocations: 322.8 kB / 328.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.005829, allocations: 4 kB / 328.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.518e-05/0.005844, allocations: 7.984 kB / 328.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.607e-05/0.00588, allocations: 24.84 kB / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005882, allocations: 0 / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.779e-05/0.005939, allocations: 53.69 kB / 328.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.005952, allocations: 11.28 kB / 328.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.005955, allocations: 0 / 328.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.005966, allocations: 0 / 328.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.328e-05/0.00601, allocations: 4 kB / 328.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.006014, allocations: 0 / 328.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.562e-05/0.00603, allocations: 3.984 kB / 328.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.006037, allocations: 3.984 kB / 328.9 MB, free: 11.21 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 5.635e-05/0.006093, allocations: 121.8 kB / 329 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/0.006139, allocations: 57.61 kB / 329.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.006163, allocations: 11.97 kB / 329.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.006164, allocations: 0 / 329.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.006168, allocations: 0 / 329.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.00617, allocations: 4 kB / 329.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.006277, allocations: 144.7 kB / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.006278, allocations: 0 / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-05/0.006308, allocations: 11.98 kB / 329.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-07/0.006309, allocations: 0 / 329.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.006315, allocations: 3.938 kB / 329.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.006316, allocations: 7.938 kB / 329.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006317, allocations: 4.062 kB / 329.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.006434, allocations: 185 kB / 329.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.006463, allocations: 23.88 kB / 329.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.006473, allocations: 48 / 329.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.464e-05/0.006508, allocations: 7.984 kB / 329.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.07e-05/0.006529, allocations: 0 / 329.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.006532, allocations: 4 kB / 329.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.563e-05/0.006577, allocations: 111.2 kB / 329.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006577, allocations: 0 / 329.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001433/0.006721, allocations: 8 kB / 329.6 MB, free: 10.43 MB / 298.7 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.0002525/0.006973, allocations: 0.7102 MB / 330.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.9e-05/0.007052, allocations: 23.98 kB / 330.4 MB, free: 9.668 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.007053, allocations: 0 / 330.4 MB, free: 9.668 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.716e-05/0.007071, allocations: 4 kB / 330.4 MB, free: 9.664 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.007317, allocations: 39.33 kB / 330.4 MB, free: 9.629 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000807/0.008124, allocations: 1.323 MB / 331.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.71e-05/0.008181, allocations: 83 kB / 331.8 MB, free: 8.109 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.31e-05/0.008205, allocations: 7.938 kB / 331.8 MB, free: 8.102 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.008243, allocations: 20.5 kB / 331.8 MB, free: 8.082 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.008243, allocations: 4.031 kB / 331.8 MB, free: 8.078 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.0223, allocations: 2.344 MB / 334.2 MB, free: 5.828 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.524/6.546, allocations: 9.328 kB / 334.2 MB, free: 5.824 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.17396374605596]