Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001769/0.001769, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.002073/0.002073, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.395/1.395, 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.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 71.88 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1023, allocations: 53.31 MB / 426.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002986/0.1053, allocations: 1.714 MB / 428.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004567/0.1058, allocations: 159.4 kB / 428.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.49e-05/0.1059, allocations: 4 kB / 428.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.626e-05/0.1059, allocations: 3.938 kB / 428.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.106, allocations: 19.86 kB / 428.6 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.1063, allocations: 39.89 kB / 428.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.1064, allocations: 63.77 kB / 428.7 MB, free: 3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1065, allocations: 19.98 kB / 428.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.785e-05/0.1065, allocations: 23.88 kB / 428.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.004e-05/0.1066, allocations: 27.86 kB / 428.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1066, allocations: 4 kB / 428.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.1066, allocations: 4 kB / 428.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.1067, allocations: 15.92 kB / 428.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.1067, allocations: 39.72 kB / 428.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.1068, allocations: 67.67 kB / 428.9 MB, free: 2.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1069, allocations: 3.984 kB / 428.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1069, allocations: 0 / 428.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.577e-06/0.1069, allocations: 0 / 428.9 MB, free: 2.797 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.0005092/0.1074, allocations: 395 kB / 429.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1074, allocations: 8.031 kB / 429.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.1074, allocations: 46.67 kB / 429.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.1075, allocations: 8.891 kB / 429.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.1077, allocations: 200.2 kB / 429.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1077, allocations: 4.375 kB / 429.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.1077, allocations: 8.375 kB / 429.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.1081, allocations: 166.3 kB / 429.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1081, allocations: 3.938 kB / 429.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.1081, allocations: 0 / 429.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1081, allocations: 4 kB / 429.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.1082, allocations: 35.92 kB / 429.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.1086, allocations: 369.8 kB / 430.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.1089, allocations: 107.8 kB / 430.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.109, allocations: 62.77 kB / 430.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.109, allocations: 4 kB / 430.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.109, allocations: 34.56 kB / 430.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.109, allocations: 3.938 kB / 430.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000313/0.1093, allocations: 121.5 kB / 430.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.1094, allocations: 110.8 kB / 430.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.1095, allocations: 139.8 kB / 430.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1095, allocations: 29.7 kB / 430.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.1096, allocations: 92.08 kB / 430.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.1096, allocations: 7.938 kB / 430.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.1096, allocations: 33.92 kB / 430.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1098, allocations: 322.8 kB / 431.1 MB, free: 248 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.1098, allocations: 11.98 kB / 431.1 MB, free: 236 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.194e-05/0.1099, allocations: 67.72 kB / 431.2 MB, free: 140 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.11, allocations: 99.58 kB / 431.3 MB, free: 12 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.11, allocations: 0 / 431.3 MB, free: 12 kB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001962/0.1102, allocations: 105.5 kB / 431.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1103, allocations: 4 kB / 431.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1103, allocations: 8.594 kB / 431.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1103, allocations: 0 / 431.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.612e-05/0.1103, allocations: 23.92 kB / 431.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1103, allocations: 4 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.1104, allocations: 7.953 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1104, allocations: 7.984 kB / 431.5 MB, free: 15.85 MB / 366.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.0001003/0.1105, allocations: 133.7 kB / 431.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.1106, allocations: 81.56 kB / 431.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.1107, allocations: 8.719 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.1107, allocations: 8 kB / 431.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1107, allocations: 0 / 431.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1107, allocations: 0 / 431.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.1109, allocations: 189.5 kB / 431.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1109, allocations: 3.984 kB / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.431e-05/0.111, allocations: 23.92 kB / 431.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.111, allocations: 0 / 431.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.111, allocations: 0 / 431.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.111, allocations: 8 kB / 431.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.111, allocations: 0 / 431.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.1114, allocations: 320.4 kB / 432.2 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/0.1114, allocations: 101 kB / 432.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.1115, allocations: 3.938 kB / 432.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.1116, allocations: 7.984 kB / 432.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.1116, allocations: 8 kB / 432.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1116, allocations: 4 kB / 432.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.385e-05/0.1117, allocations: 105.8 kB / 432.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1117, allocations: 0 / 432.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.1119, allocations: 8 kB / 432.5 MB, free: 14.75 MB / 366.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.0006169/0.1126, allocations: 0.846 MB / 433.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001681/0.1127, allocations: 60.28 kB / 433.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1127, allocations: 4.125 kB / 433.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.861e-05/0.1128, allocations: 11.98 kB / 433.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.1132, allocations: 46.69 kB / 433.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.1147, allocations: 1.589 MB / 435 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.115, allocations: 0.7002 MB / 435.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.12e-05/0.1151, allocations: 8.953 kB / 435.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.1151, allocations: 23.38 kB / 435.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1151, allocations: 0 / 435.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.1381, allocations: 1.87 MB / 437.6 MB, free: 9.488 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.843/7.981, allocations: 11.92 kB / 437.6 MB, free: 9.477 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.462592306081206]