Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 123.9 kB / 17.78 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002107/0.002107, allocations: 189.2 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 51.91 kB / 365.7 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1061, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003442/0.1096, allocations: 1.693 MB / 419.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004993/0.1101, allocations: 163.4 kB / 419.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1102, allocations: 4 kB / 419.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.528e-05/0.1103, allocations: 11.86 kB / 419.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.1104, allocations: 15.94 kB / 419.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.1107, allocations: 43.83 kB / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.1108, allocations: 55.84 kB / 419.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1109, allocations: 19.98 kB / 419.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.234e-05/0.111, allocations: 27.91 kB / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.494e-05/0.111, allocations: 23.8 kB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.1111, allocations: 4 kB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.341e-05/0.1111, allocations: 4 kB / 419.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.1111, allocations: 23.92 kB / 419.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.1112, allocations: 23.81 kB / 419.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.1113, allocations: 79.53 kB / 420 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.1113, allocations: 4 kB / 420 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1113, allocations: 0 / 420 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1113, allocations: 3.938 kB / 420 MB, free: 10.41 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000536/0.1119, allocations: 395 kB / 420.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1119, allocations: 12.03 kB / 420.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.884e-05/0.112, allocations: 30.75 kB / 420.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.112, allocations: 16.84 kB / 420.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.1123, allocations: 202.4 kB / 420.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1123, allocations: 8.375 kB / 420.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.1123, allocations: 4.375 kB / 420.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.1127, allocations: 162.4 kB / 420.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1127, allocations: 3.938 kB / 420.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1127, allocations: 11.94 kB / 420.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1127, allocations: 0 / 420.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.1128, allocations: 39.91 kB / 420.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.1133, allocations: 369.8 kB / 421.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.1136, allocations: 103.8 kB / 421.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1137, allocations: 58.69 kB / 421.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.1137, allocations: 7.984 kB / 421.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.1137, allocations: 34.56 kB / 421.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.1137, allocations: 0 / 421.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003672/0.1141, allocations: 133.6 kB / 421.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.092e-05/0.1142, allocations: 103.1 kB / 421.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.1143, allocations: 137.8 kB / 421.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.1144, allocations: 33.7 kB / 421.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.1144, allocations: 88.08 kB / 421.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.1145, allocations: 11.94 kB / 421.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.72e-05/0.1145, allocations: 21.72 kB / 421.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1147, allocations: 326.8 kB / 422.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.362e-05/0.1147, allocations: 11.98 kB / 422.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.907e-05/0.1148, allocations: 75.66 kB / 422.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.115, allocations: 91.59 kB / 422.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.115, allocations: 0 / 422.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002128/0.1152, allocations: 109.4 kB / 422.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1152, allocations: 6.5 kB / 422.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.1152, allocations: 4.312 kB / 422.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.1153, allocations: 3.984 kB / 422.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/0.1153, allocations: 20.19 kB / 422.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1153, allocations: 7.938 kB / 422.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.1154, allocations: 12.2 kB / 422.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.1154, allocations: 11.98 kB / 422.6 MB, free: 7.453 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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 0.0001118/0.1155, allocations: 126.4 kB / 422.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.1157, allocations: 77.59 kB / 422.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.1157, allocations: 16.66 kB / 422.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1157, allocations: 3.984 kB / 422.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1157, allocations: 0 / 422.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1157, allocations: 3.984 kB / 422.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.116, allocations: 189.5 kB / 423 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.116, allocations: 3.938 kB / 423 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.836e-05/0.1161, allocations: 23.98 kB / 423 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1161, allocations: 0 / 423 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1161, allocations: 4 kB / 423 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1161, allocations: 0 / 423 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1161, allocations: 0 / 423 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.1165, allocations: 316.3 kB / 423.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1166, allocations: 108.9 kB / 423.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.1166, allocations: 0 / 423.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.543e-05/0.1167, allocations: 8 kB / 423.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.1167, allocations: 4 kB / 423.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1167, allocations: 4 kB / 423.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1168, allocations: 107.2 kB / 423.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1168, allocations: 0 / 423.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.1171, allocations: 12 kB / 423.6 MB, free: 6.355 MB / 350.1 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 (10): * Single equations (assignments): 10 * 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.0007506/0.1179, allocations: 0.846 MB / 424.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.1181, allocations: 67.84 kB / 424.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1181, allocations: 192 / 424.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.491e-05/0.1181, allocations: 4 kB / 424.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.1186, allocations: 54.92 kB / 424.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.1202, allocations: 1.589 MB / 426.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.1206, allocations: 0.7048 MB / 426.8 MB, free: 2.895 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.327e-05/0.1206, allocations: 4.672 kB / 426.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.1207, allocations: 23.42 kB / 426.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1207, allocations: 0 / 426.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.1453, allocations: 1.875 MB / 428.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/7.953, allocations: 20.8 kB / 428.8 MB, free: 1.078 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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: 10.522842099890113]