Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.0008357/0.0008357, allocations: 80.34 kB / 20.67 MB, free: 3.887 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.0008767/0.0008767, allocations: 156.9 kB / 23.94 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.9117/0.9117, 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.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.287e-05, allocations: 6.281 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002115/0.002138, allocations: 1.631 MB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007702/0.002908, allocations: 0.5414 MB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.749e-05/0.002995, allocations: 7.938 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.758e-05/0.003043, allocations: 7.922 kB / 326.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.003182, allocations: 11.88 kB / 326.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.003477, allocations: 75.55 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.00358, allocations: 59.78 kB / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.003688, allocations: 20.16 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.003824, allocations: 43.89 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.743e-05/0.003871, allocations: 15.97 kB / 326.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.003888, allocations: 4 kB / 326.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.813e-05/0.003926, allocations: 11.94 kB / 327 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.003973, allocations: 15.94 kB / 327 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.003997, allocations: 19.92 kB / 327 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.004145, allocations: 71.7 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.004148, allocations: 0 / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.004149, allocations: 4 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.004153, allocations: 0 / 327.1 MB, free: 13.32 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003977/0.004551, allocations: 313.8 kB / 327.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.00459, allocations: 15.98 kB / 327.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.004621, allocations: 34.73 kB / 327.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.004733, allocations: 20.84 kB / 327.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.004952, allocations: 153.6 kB / 327.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.004962, allocations: 12.3 kB / 327.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.004971, allocations: 384 / 327.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.005218, allocations: 143.3 kB / 327.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.005225, allocations: 192 / 327.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.005235, allocations: 8.125 kB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.00524, allocations: 0 / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.083e-05/0.005291, allocations: 27.92 kB / 327.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.005564, allocations: 254.4 kB / 328 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.005665, allocations: 94.48 kB / 328.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.846e-05/0.005713, allocations: 47.36 kB / 328.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.005733, allocations: 4 kB / 328.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.005757, allocations: 42.5 kB / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.005759, allocations: 0 / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002057/0.005964, allocations: 97.55 kB / 328.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.006025, allocations: 140.5 kB / 328.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.006126, allocations: 158.9 kB / 328.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.006137, allocations: 26.2 kB / 328.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.00618, allocations: 92.14 kB / 328.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.006196, allocations: 11.94 kB / 328.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.006221, allocations: 13.72 kB / 328.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.864e-05/0.006299, allocations: 314.8 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/0.006325, allocations: 7.984 kB / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/0.006341, allocations: 8 kB / 329.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.1e-05/0.006382, allocations: 20.84 kB / 329.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006384, allocations: 0 / 329.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.564e-05/0.00645, allocations: 65.58 kB / 329.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.006464, allocations: 8 kB / 329.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.006468, allocations: 0 / 329.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.00648, allocations: 0 / 329.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.195e-05/0.006532, allocations: 7.984 kB / 329.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.006539, allocations: 3.984 kB / 329.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.006555, allocations: 0 / 329.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.006561, allocations: 0 / 329.2 MB, free: 10.94 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.339e-05/0.006624, allocations: 121.8 kB / 329.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.006685, allocations: 73.55 kB / 329.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.006714, allocations: 15.92 kB / 329.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.006717, allocations: 0 / 329.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.006722, allocations: 4 kB / 329.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.006725, allocations: 0 / 329.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.00684, allocations: 148.6 kB / 329.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.006843, allocations: 4 kB / 329.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.006881, allocations: 11.98 kB / 329.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.006884, allocations: 7.938 kB / 329.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.00689, allocations: 0 / 329.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.006892, allocations: 4.094 kB / 329.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.006894, allocations: 4 kB / 329.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.007017, allocations: 198 kB / 329.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.00705, allocations: 15.94 kB / 329.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.007061, allocations: 4 kB / 329.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.744e-05/0.007099, allocations: 11.92 kB / 329.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.007123, allocations: 0 / 329.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.007127, allocations: 11.88 kB / 329.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.269e-05/0.00718, allocations: 119.1 kB / 329.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00718, allocations: 4 kB / 329.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001424/0.007323, allocations: 8 kB / 329.9 MB, free: 10.11 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.0003258/0.007648, allocations: 0.7188 MB / 330.6 MB, free: 9.352 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.833e-05/0.007747, allocations: 32.03 kB / 330.7 MB, free: 9.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.007749, allocations: 0 / 330.7 MB, free: 9.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.93e-05/0.007768, allocations: 8 kB / 330.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.008071, allocations: 48.03 kB / 330.7 MB, free: 9.266 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009311/0.009002, allocations: 1.383 MB / 332.1 MB, free: 7.781 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.199e-05/0.009064, allocations: 83.31 kB / 332.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.435e-05/0.009099, allocations: 8.094 kB / 332.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.009146, allocations: 28.48 kB / 332.2 MB, free: 7.645 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.009147, allocations: 0 / 332.2 MB, free: 7.645 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01537/0.02451, allocations: 2.746 MB / 335 MB, free: 5.008 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.537/6.562, allocations: 6.422 kB / 335 MB, free: 5.008 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79319e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.250477170571685]