Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.001759/0.001759, allocations: 123.9 kB / 17.79 MB, free: 5.266 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.002068/0.002068, allocations: 185.2 kB / 20.73 MB, free: 2.332 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.397/1.397, allocations: 225.6 MB / 249.1 MB, free: 3.598 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.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 55.91 kB / 365.7 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09672/0.09819, allocations: 52.13 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003159/0.1013, allocations: 1.625 MB / 419.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009429/0.1023, allocations: 0.522 MB / 419.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.479e-05/0.1024, allocations: 0 / 419.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.015e-05/0.1024, allocations: 15.86 kB / 420 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.1026, allocations: 11.86 kB / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.1029, allocations: 55.83 kB / 420 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.103, allocations: 55.78 kB / 420.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1032, allocations: 19.92 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.611e-05/0.1032, allocations: 27.91 kB / 420.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.94e-05/0.1033, allocations: 27.8 kB / 420.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.1033, allocations: 4 kB / 420.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.421e-05/0.1034, allocations: 4 kB / 420.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.193e-05/0.1034, allocations: 19.92 kB / 420.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.105e-05/0.1035, allocations: 27.81 kB / 420.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.1036, allocations: 71.53 kB / 420.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1036, allocations: 4 kB / 420.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1036, allocations: 0 / 420.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1036, allocations: 0 / 420.3 MB, free: 10.08 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005522/0.1042, allocations: 398.9 kB / 420.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1042, allocations: 8.031 kB / 420.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.84e-05/0.1043, allocations: 38.75 kB / 420.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.1043, allocations: 8.891 kB / 420.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.1046, allocations: 208.1 kB / 420.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1046, allocations: 4.375 kB / 420.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.1046, allocations: 4.312 kB / 420.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.1049, allocations: 146.8 kB / 421.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1049, allocations: 4 kB / 421.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1049, allocations: 0 / 421.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1049, allocations: 0 / 421.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.045e-05/0.105, allocations: 31.91 kB / 421.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.1054, allocations: 287.4 kB / 421.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.1055, allocations: 98.42 kB / 421.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.646e-05/0.1056, allocations: 39.42 kB / 421.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.1057, allocations: 7.984 kB / 421.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.1057, allocations: 42.5 kB / 421.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1057, allocations: 0 / 421.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002909/0.106, allocations: 93.56 kB / 421.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.1061, allocations: 140.9 kB / 421.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.1062, allocations: 147.5 kB / 421.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1063, allocations: 29.7 kB / 422 MB, free: 8.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.1063, allocations: 96.11 kB / 422.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.1063, allocations: 7.953 kB / 422.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.1064, allocations: 17.72 kB / 422.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1065, allocations: 326.8 kB / 422.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.421e-05/0.1066, allocations: 11.98 kB / 422.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-05/0.1067, allocations: 49.14 kB / 422.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.1068, allocations: 69.02 kB / 422.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1068, allocations: 0 / 422.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001673/0.107, allocations: 85.5 kB / 422.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.107, allocations: 4 kB / 422.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.107, allocations: 4 kB / 422.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.107, allocations: 0 / 422.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-05/0.1071, allocations: 12.19 kB / 422.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1071, allocations: 7.984 kB / 422.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.1071, allocations: 4 kB / 422.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1072, allocations: 7.938 kB / 422.7 MB, free: 7.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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 prepare postOptimizeDAE: time 0.0001119/0.1073, allocations: 126.4 kB / 422.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.1074, allocations: 65.53 kB / 422.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/0.1074, allocations: 23.8 kB / 422.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1074, allocations: 128 / 422.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1074, allocations: 12.03 kB / 422.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1074, allocations: 4 kB / 422.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.1076, allocations: 177.6 kB / 423.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1076, allocations: 0 / 423.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.746e-05/0.1077, allocations: 12 kB / 423.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1077, allocations: 3.984 kB / 423.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1077, allocations: 7.984 kB / 423.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1077, allocations: 0 / 423.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1077, allocations: 0 / 423.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.108, allocations: 201.9 kB / 423.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.322e-05/0.1081, allocations: 101 kB / 423.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.1081, allocations: 0 / 423.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.1081, allocations: 4 kB / 423.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.1082, allocations: 3.984 kB / 423.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1082, allocations: 8 kB / 423.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.026e-05/0.1083, allocations: 118.5 kB / 423.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1083, allocations: 0 / 423.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.1085, allocations: 8 kB / 423.5 MB, free: 6.371 MB / 350.1 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.0005482/0.109, allocations: 0.7404 MB / 424.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.1092, allocations: 43.91 kB / 424.3 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1092, allocations: 0 / 424.3 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.485e-05/0.1092, allocations: 4.375 kB / 424.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.1096, allocations: 46.44 kB / 424.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.1111, allocations: 1.488 MB / 425.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.1115, allocations: 0.7 MB / 426.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.83e-05/0.1115, allocations: 8.734 kB / 426.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.1115, allocations: 23.42 kB / 426.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1115, allocations: 0 / 426.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.1357, allocations: 2.067 MB / 428.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/8.479, allocations: 0.625 kB / 428.6 MB, free: 1.191 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79319e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 11.241412572097033]