Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001818/0.001818, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.002171/0.002171, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.455/1.455, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 63.89 kB / 373.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09991/0.1017, allocations: 53.31 MB / 426.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002704/0.1044, allocations: 1.568 MB / 428.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003714/0.1048, allocations: 139.5 kB / 428.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.418e-05/0.1048, allocations: 7.938 kB / 428.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.973e-05/0.1049, allocations: 3.938 kB / 428.4 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.105, allocations: 7.938 kB / 428.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.1053, allocations: 35.91 kB / 428.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.481e-05/0.1054, allocations: 31.91 kB / 428.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.851e-05/0.1054, allocations: 8 kB / 428.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.398e-05/0.1055, allocations: 19.92 kB / 428.5 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.459e-05/0.1055, allocations: 19.86 kB / 428.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.1055, allocations: 4 kB / 428.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.985e-06/0.1055, allocations: 0 / 428.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.1056, allocations: 15.94 kB / 428.5 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.1056, allocations: 19.86 kB / 428.5 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.1057, allocations: 47.69 kB / 428.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1057, allocations: 4 kB / 428.6 MB, free: 3.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1057, allocations: 0 / 428.6 MB, free: 3.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1057, allocations: 0 / 428.6 MB, free: 3.047 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004566/0.1062, allocations: 379.1 kB / 429 MB, free: 2.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1062, allocations: 8.031 kB / 429 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.1063, allocations: 30.75 kB / 429 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.1063, allocations: 12.89 kB / 429 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.1066, allocations: 202.2 kB / 429.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.1066, allocations: 384 / 429.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.1066, allocations: 4.375 kB / 429.2 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.1068, allocations: 121.5 kB / 429.3 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1068, allocations: 3.938 kB / 429.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.1069, allocations: 4 kB / 429.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1069, allocations: 7.938 kB / 429.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.494e-05/0.1069, allocations: 11.98 kB / 429.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.1072, allocations: 261.8 kB / 429.6 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.1074, allocations: 142.2 kB / 429.8 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.411e-05/0.1075, allocations: 29.77 kB / 429.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.1075, allocations: 7.984 kB / 429.8 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1076, allocations: 38.44 kB / 429.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1076, allocations: 0 / 429.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.00023/0.1078, allocations: 73.62 kB / 429.9 MB, free: 1.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.1078, allocations: 81.05 kB / 430 MB, free: 1.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.108, allocations: 142.2 kB / 430.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.108, allocations: 25.7 kB / 430.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.108, allocations: 84.14 kB / 430.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.108, allocations: 7.953 kB / 430.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.1081, allocations: 17.72 kB / 430.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1082, allocations: 318.8 kB / 430.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.559e-05/0.1082, allocations: 4 kB / 430.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.908e-05/0.1083, allocations: 35.42 kB / 430.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.075e-05/0.1084, allocations: 47.36 kB / 430.7 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.1084, allocations: 3.938 kB / 430.7 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001189/0.1085, allocations: 65.62 kB / 430.7 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1085, allocations: 7.984 kB / 430.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1085, allocations: 0 / 430.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1085, allocations: 4 kB / 430.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.373e-05/0.1086, allocations: 11.94 kB / 430.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1086, allocations: 0 / 430.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.562e-05/0.1086, allocations: 7.953 kB / 430.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.1086, allocations: 0 / 430.8 MB, free: 0.5781 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 8.837e-05/0.1087, allocations: 125.9 kB / 430.9 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.867e-05/0.1088, allocations: 45.69 kB / 430.9 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.1088, allocations: 12.25 kB / 430.9 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1088, allocations: 0 / 430.9 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1088, allocations: 0 / 430.9 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1088, allocations: 4 kB / 430.9 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.109, allocations: 177.5 kB / 431.1 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.109, allocations: 0 / 431.1 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.544e-05/0.1091, allocations: 11.98 kB / 431.1 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1091, allocations: 0 / 431.1 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.1091, allocations: 4 kB / 431.1 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1091, allocations: 4 kB / 431.1 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1091, allocations: 4 kB / 431.1 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.1093, allocations: 164.4 kB / 431.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.1093, allocations: 100.9 kB / 431.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.1093, allocations: 4 kB / 431.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.348e-05/0.1094, allocations: 4 kB / 431.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.1094, allocations: 7.938 kB / 431.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.1094, allocations: 0 / 431.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.355e-05/0.1095, allocations: 108.9 kB / 431.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1095, allocations: 0 / 431.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.1097, allocations: 4 kB / 431.5 MB, free: 15.7 MB / 366.1 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.0004694/0.1102, allocations: 0.698 MB / 432.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.1103, allocations: 31.92 kB / 432.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1103, allocations: 0 / 432.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.138e-05/0.1103, allocations: 7.984 kB / 432.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.1107, allocations: 23.22 kB / 432.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.1119, allocations: 1.334 MB / 433.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.1122, allocations: 0.6885 MB / 434.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.36e-05/0.1122, allocations: 0 / 434.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.1122, allocations: 15.44 kB / 434.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1122, allocations: 0 / 434.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.1371, allocations: 1.481 MB / 435.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.531/7.668, allocations: 7.609 kB / 435.8 MB, free: 11.35 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.252491153310984]