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.001767/0.001767, allocations: 118.6 kB / 18.5 MB, free: 4.566 MB / 14.72 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.002065/0.002065, allocations: 214.6 kB / 21.46 MB, free: 1.605 MB / 14.72 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 1.428/1.428, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001796/0.001796, allocations: 63.91 kB / 373.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1051, allocations: 53.32 MB / 426.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002821/0.1079, allocations: 1.632 MB / 428.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1089, allocations: 0.5921 MB / 428.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.126e-05/0.109, allocations: 3.938 kB / 428.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.086e-05/0.1091, allocations: 3.938 kB / 428.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.1092, allocations: 15.86 kB / 428.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.1095, allocations: 63.75 kB / 429 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.1096, allocations: 67.77 kB / 429 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.1097, allocations: 12.23 kB / 429.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.1099, allocations: 39.78 kB / 429.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.547e-05/0.1099, allocations: 27.84 kB / 429.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.1099, allocations: 4 kB / 429.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.604e-05/0.11, allocations: 4 kB / 429.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.11, allocations: 15.94 kB / 429.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.1101, allocations: 35.73 kB / 429.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.1102, allocations: 75.55 kB / 429.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1102, allocations: 0 / 429.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1102, allocations: 0 / 429.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1102, allocations: 7.938 kB / 429.3 MB, free: 2.398 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.0005264/0.1108, allocations: 391 kB / 429.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1108, allocations: 8.031 kB / 429.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.662e-05/0.1109, allocations: 42.73 kB / 429.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.111, allocations: 16.84 kB / 429.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.1113, allocations: 220.2 kB / 429.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.1113, allocations: 384 / 429.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.1113, allocations: 8.375 kB / 429.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.1116, allocations: 138.8 kB / 430.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1116, allocations: 7.969 kB / 430.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.1116, allocations: 7.938 kB / 430.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1116, allocations: 4 kB / 430.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.578e-05/0.1117, allocations: 27.92 kB / 430.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.1121, allocations: 295.4 kB / 430.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.1122, allocations: 90.36 kB / 430.5 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.817e-05/0.1123, allocations: 43.48 kB / 430.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1123, allocations: 8 kB / 430.5 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.1123, allocations: 30.56 kB / 430.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1123, allocations: 3.938 kB / 430.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002811/0.1126, allocations: 102 kB / 430.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.655e-05/0.1127, allocations: 140.5 kB / 430.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.1128, allocations: 150.2 kB / 431 MB, free: 428 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1129, allocations: 25.7 kB / 431 MB, free: 396 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.1129, allocations: 92.14 kB / 431.1 MB, free: 300 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.1129, allocations: 3.953 kB / 431.1 MB, free: 296 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.113, allocations: 21.7 kB / 431.1 MB, free: 268 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1131, allocations: 326.8 kB / 431.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.776e-05/0.1132, allocations: 15.98 kB / 431.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.466e-05/0.1132, allocations: 45.14 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1133, allocations: 65.08 kB / 431.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.1133, allocations: 3.938 kB / 431.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001532/0.1135, allocations: 89.62 kB / 431.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1135, allocations: 8 kB / 431.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1135, allocations: 0 / 431.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1135, allocations: 0 / 431.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.368e-05/0.1136, allocations: 15.98 kB / 431.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.1136, allocations: 3.938 kB / 431.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.1137, allocations: 7.938 kB / 431.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1137, allocations: 4 kB / 431.7 MB, free: 15.64 MB / 366.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 9.619e-05/0.1138, allocations: 125.8 kB / 431.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.1139, allocations: 73.59 kB / 431.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.1139, allocations: 11.88 kB / 431.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1139, allocations: 3.938 kB / 431.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1139, allocations: 4 kB / 431.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1139, allocations: 0 / 431.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.1141, allocations: 185.5 kB / 432.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1141, allocations: 0 / 432.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.697e-05/0.1142, allocations: 15.98 kB / 432.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1142, allocations: 0 / 432.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.1142, allocations: 8.094 kB / 432.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1142, allocations: 0 / 432.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1142, allocations: 0 / 432.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.1144, allocations: 206.1 kB / 432.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.914e-05/0.1145, allocations: 101 kB / 432.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.1145, allocations: 0 / 432.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.1146, allocations: 7.984 kB / 432.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.1146, allocations: 0 / 432.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.1146, allocations: 4 kB / 432.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.534e-05/0.1147, allocations: 119.9 kB / 432.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1147, allocations: 0 / 432.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.1149, allocations: 8 kB / 432.5 MB, free: 14.66 MB / 366.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.0005102/0.1154, allocations: 0.7343 MB / 433.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.1156, allocations: 43.97 kB / 433.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1156, allocations: 0 / 433.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.868e-05/0.1156, allocations: 15.98 kB / 433.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.116, allocations: 42.14 kB / 433.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.1175, allocations: 1.501 MB / 434.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.1179, allocations: 0.7002 MB / 435.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.983e-05/0.1179, allocations: 12.59 kB / 435.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.1179, allocations: 31.42 kB / 435.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1179, allocations: 0 / 435.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.1425, allocations: 2.062 MB / 437.7 MB, free: 9.453 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.755/7.897, allocations: 8.047 kB / 437.7 MB, free: 9.445 MB / 366.1 MB " [Timeout remaining time 652] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.413040504790843]