Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001688/0.001688, allocations: 121.3 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.001984/0.001984, allocations: 210.5 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.423/1.423, allocations: 230.2 MB / 254.5 MB, free: 15.43 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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 67.89 kB / 373.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0955/0.09727, allocations: 53.32 MB / 426.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002824/0.1001, allocations: 1.599 MB / 428.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1011, allocations: 0.5766 MB / 428.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.493e-05/0.1012, allocations: 0 / 428.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.044e-05/0.1013, allocations: 7.875 kB / 428.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.1014, allocations: 15.92 kB / 428.9 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.1018, allocations: 63.75 kB / 428.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.1019, allocations: 55.78 kB / 429 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.564e-05/0.102, allocations: 12.17 kB / 429 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.1021, allocations: 23.92 kB / 429 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.1021, allocations: 23.84 kB / 429 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1022, allocations: 4 kB / 429.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.806e-05/0.1022, allocations: 8 kB / 429.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.1022, allocations: 11.94 kB / 429.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.1023, allocations: 27.8 kB / 429.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.1024, allocations: 71.61 kB / 429.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1024, allocations: 0 / 429.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1024, allocations: 0 / 429.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1024, allocations: 0 / 429.2 MB, free: 2.527 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005048/0.1029, allocations: 379.1 kB / 429.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.103, allocations: 12.03 kB / 429.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.506e-05/0.103, allocations: 30.75 kB / 429.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.1031, allocations: 16.88 kB / 429.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.1034, allocations: 219.1 kB / 429.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.1034, allocations: 8.125 kB / 429.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.1034, allocations: 4 kB / 429.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.1037, allocations: 117.8 kB / 429.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1037, allocations: 0 / 429.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1037, allocations: 4 kB / 429.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1037, allocations: 0 / 429.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.532e-05/0.1038, allocations: 19.98 kB / 430 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.1041, allocations: 274.5 kB / 430.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.1042, allocations: 71.84 kB / 430.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.686e-05/0.1043, allocations: 30.56 kB / 430.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.1043, allocations: 3.938 kB / 430.3 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.1043, allocations: 42.56 kB / 430.4 MB, free: 1.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1043, allocations: 0 / 430.4 MB, free: 1.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002522/0.1046, allocations: 85.45 kB / 430.5 MB, free: 1.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.1047, allocations: 106.8 kB / 430.6 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.1048, allocations: 154.1 kB / 430.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.1048, allocations: 25.7 kB / 430.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.1049, allocations: 88.12 kB / 430.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.1049, allocations: 4 kB / 430.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.105, allocations: 21.67 kB / 430.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1051, allocations: 318.8 kB / 431.2 MB, free: 260 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.133e-05/0.1051, allocations: 8 kB / 431.2 MB, free: 252 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.619e-05/0.1052, allocations: 39.42 kB / 431.2 MB, free: 200 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.86e-05/0.1053, allocations: 43.36 kB / 431.2 MB, free: 144 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1053, allocations: 0 / 431.2 MB, free: 144 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001311/0.1054, allocations: 77.55 kB / 431.3 MB, free: 60 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1054, allocations: 4 kB / 431.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1054, allocations: 4 kB / 431.3 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1054, allocations: 0 / 431.3 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.889e-05/0.1055, allocations: 8 kB / 431.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1055, allocations: 7.875 kB / 431.3 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.203e-05/0.1055, allocations: 11.98 kB / 431.4 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1056, allocations: 0 / 431.4 MB, free: 24 kB / 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 0.0001055/0.1057, allocations: 125.9 kB / 431.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.174e-05/0.1057, allocations: 57.53 kB / 431.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.1058, allocations: 11.88 kB / 431.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1058, allocations: 4.078 kB / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.1058, allocations: 7.938 kB / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1058, allocations: 0 / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.106, allocations: 173.6 kB / 431.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.106, allocations: 0 / 431.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.106, allocations: 8 kB / 431.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.106, allocations: 4.062 kB / 431.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.106, allocations: 3.984 kB / 431.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.106, allocations: 4 kB / 431.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.106, allocations: 7.875 kB / 431.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.1062, allocations: 173.2 kB / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.1063, allocations: 97.05 kB / 432 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.1063, allocations: 4 kB / 432 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.1064, allocations: 0 / 432 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.1064, allocations: 7.938 kB / 432 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.1064, allocations: 0 / 432 MB, free: 15.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.083e-05/0.1065, allocations: 118.2 kB / 432.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1065, allocations: 0 / 432.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.1067, allocations: 8 kB / 432.2 MB, free: 15.11 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 (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.0004793/0.1072, allocations: 0.7141 MB / 432.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.1074, allocations: 28.11 kB / 432.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1074, allocations: 4.062 kB / 432.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.62e-05/0.1074, allocations: 11.98 kB / 432.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.1078, allocations: 34.08 kB / 432.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.1091, allocations: 1.407 MB / 434.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.1095, allocations: 0.6885 MB / 435 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.373e-05/0.1095, allocations: 8 kB / 435 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.1095, allocations: 15.42 kB / 435.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1095, allocations: 0 / 435.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.1322, allocations: 1.721 MB / 436.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/7.86, allocations: 7.969 kB / 436.8 MB, free: 10.42 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.347308032680303]