Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008774/0.0008774, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8778/0.8778, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.92e-05, allocations: 6.281 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002699/0.002718, allocations: 1.589 MB / 326.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006614/0.00338, allocations: 0.5063 MB / 326.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.003454, allocations: 4 kB / 326.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.925e-05/0.003493, allocations: 7.922 kB / 326.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.003623, allocations: 7.875 kB / 326.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.003889, allocations: 63.75 kB / 326.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.911e-05/0.003978, allocations: 43.84 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.627e-05/0.004064, allocations: 11.98 kB / 326.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.004173, allocations: 27.92 kB / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.673e-05/0.00422, allocations: 19.91 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.004234, allocations: 8 kB / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.465e-05/0.004269, allocations: 4 kB / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.361e-05/0.004312, allocations: 19.86 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.004341, allocations: 12 kB / 326.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.004469, allocations: 59.73 kB / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.004472, allocations: 0 / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.004474, allocations: 0 / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.004478, allocations: 0 / 327 MB, free: 13.52 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003647/0.004842, allocations: 313.2 kB / 327.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.004882, allocations: 8.031 kB / 327.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/0.004914, allocations: 42.75 kB / 327.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.005018, allocations: 16.88 kB / 327.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.005198, allocations: 137.6 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-06/0.005208, allocations: 8.312 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.005217, allocations: 384 / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.005448, allocations: 121.6 kB / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.005455, allocations: 4.172 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.005468, allocations: 4.125 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.005474, allocations: 0 / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.651e-05/0.00552, allocations: 19.98 kB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.005781, allocations: 240.8 kB / 327.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.005928, allocations: 57.2 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.662e-05/0.005974, allocations: 37.64 kB / 327.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.005994, allocations: 4 kB / 328 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.006015, allocations: 34.55 kB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.006016, allocations: 0 / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001912/0.006207, allocations: 81.56 kB / 328.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.006255, allocations: 81.11 kB / 328.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/0.006351, allocations: 138.1 kB / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.006361, allocations: 29.7 kB / 328.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.006404, allocations: 84.14 kB / 328.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.006423, allocations: 3.953 kB / 328.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.006452, allocations: 21.84 kB / 328.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.006535, allocations: 318.8 kB / 328.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.536e-05/0.00656, allocations: 8 kB / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.741e-05/0.006577, allocations: 11.98 kB / 328.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.482e-05/0.006622, allocations: 16.8 kB / 328.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.006624, allocations: 0 / 328.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.21e-05/0.006696, allocations: 57.56 kB / 328.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.006711, allocations: 12.09 kB / 328.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.006717, allocations: 0 / 328.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.006729, allocations: 0 / 328.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.61e-05/0.006775, allocations: 4 kB / 328.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.00678, allocations: 0 / 328.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.006797, allocations: 0 / 328.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.006806, allocations: 3.984 kB / 328.8 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.06e-05/0.006866, allocations: 117.8 kB / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.006913, allocations: 57.52 kB / 329 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.00694, allocations: 8.344 kB / 329 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.006944, allocations: 8 kB / 329 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.006949, allocations: 0 / 329 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.006953, allocations: 0 / 329 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.007067, allocations: 144.7 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.007069, allocations: 3.938 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-05/0.007098, allocations: 8 kB / 329.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.007101, allocations: 0 / 329.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.007111, allocations: 7.984 kB / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.007112, allocations: 0 / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.007114, allocations: 4 kB / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.007228, allocations: 176.5 kB / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.007257, allocations: 11.89 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.007271, allocations: 11.98 kB / 329.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.221e-05/0.007304, allocations: 3.938 kB / 329.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.007332, allocations: 0 / 329.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.007337, allocations: 4 kB / 329.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.768e-05/0.007385, allocations: 109.8 kB / 329.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007385, allocations: 0 / 329.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001466/0.007531, allocations: 4 kB / 329.5 MB, free: 10.66 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 (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.0002809/0.007812, allocations: 0.7054 MB / 330.2 MB, free: 9.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.425e-05/0.007897, allocations: 27.86 kB / 330.2 MB, free: 9.902 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.007898, allocations: 0 / 330.2 MB, free: 9.902 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.914e-05/0.007917, allocations: 7.984 kB / 330.2 MB, free: 9.895 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.00817, allocations: 20.02 kB / 330.3 MB, free: 9.875 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008773/0.009047, allocations: 1.314 MB / 331.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.04e-05/0.009107, allocations: 75.08 kB / 331.7 MB, free: 8.379 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.076e-05/0.009138, allocations: 7.984 kB / 331.7 MB, free: 8.371 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.009178, allocations: 12.5 kB / 331.7 MB, free: 8.359 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009178, allocations: 0 / 331.7 MB, free: 8.359 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.02848, allocations: 2.231 MB / 333.9 MB, free: 6.25 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.81/6.839, allocations: 3.75 kB / 333.9 MB, free: 6.25 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.45119152404368]