Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001749/0.001749, allocations: 118.6 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.002135/0.002135, 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.436/1.436, 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.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 55.91 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09972/0.1014, allocations: 53.32 MB / 426.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003253/0.1047, allocations: 1.907 MB / 428.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.1068, allocations: 1.312 MB / 429.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.107, allocations: 4 kB / 429.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.1073, allocations: 67.61 kB / 429.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.1076, allocations: 135.5 kB / 430.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000596/0.1082, allocations: 230.5 kB / 430.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.1084, allocations: 175.6 kB / 430.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1085, allocations: 17.55 kB / 430.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.1087, allocations: 83.56 kB / 430.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.1088, allocations: 87.67 kB / 430.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.1088, allocations: 8 kB / 430.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.1089, allocations: 71.94 kB / 430.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.185e-05/0.109, allocations: 51.78 kB / 430.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.656e-05/0.1091, allocations: 83.41 kB / 430.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.1094, allocations: 239 kB / 431.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.1094, allocations: 7.984 kB / 431.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1094, allocations: 0 / 431.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1094, allocations: 0 / 431.1 MB, free: 0.5391 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007705/0.1102, allocations: 0.5457 MB / 431.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1103, allocations: 8.031 kB / 431.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.866e-05/0.1103, allocations: 38.75 kB / 431.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.1104, allocations: 28.78 kB / 431.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.1108, allocations: 291.8 kB / 432 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1108, allocations: 4.375 kB / 432 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.1108, allocations: 8.375 kB / 432 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.1111, allocations: 171.3 kB / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1111, allocations: 0 / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1112, allocations: 3.984 kB / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1112, allocations: 4 kB / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.1113, allocations: 31.97 kB / 432.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005201/0.1118, allocations: 394.3 kB / 432.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.112, allocations: 111.9 kB / 432.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.447e-05/0.1121, allocations: 42.56 kB / 432.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.1121, allocations: 11.98 kB / 432.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.1123, allocations: 71.33 kB / 432.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.1123, allocations: 4 kB / 432.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003757/0.1127, allocations: 157.4 kB / 433 MB, free: 14.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.1128, allocations: 154.2 kB / 433.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.1131, allocations: 342.6 kB / 433.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1132, allocations: 29.7 kB / 433.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.676e-05/0.1133, allocations: 132.3 kB / 433.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.1133, allocations: 27.91 kB / 433.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.1133, allocations: 29.7 kB / 433.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1135, allocations: 338.8 kB / 434 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.458e-05/0.1135, allocations: 19.98 kB / 434.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.1137, allocations: 82.86 kB / 434.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.1138, allocations: 88.2 kB / 434.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1138, allocations: 0 / 434.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002319/0.1141, allocations: 133.5 kB / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1141, allocations: 4 kB / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1141, allocations: 0 / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1141, allocations: 4 kB / 434.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1142, allocations: 19.98 kB / 434.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1142, allocations: 0 / 434.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.325e-05/0.1143, allocations: 12.19 kB / 434.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.1143, allocations: 8 kB / 434.4 MB, free: 12.88 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001438/0.1144, allocations: 161.8 kB / 434.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.681e-05/0.1145, allocations: 69.53 kB / 434.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.1146, allocations: 29.7 kB / 434.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1146, allocations: 0 / 434.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1146, allocations: 0 / 434.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.1146, allocations: 7.938 kB / 434.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.1148, allocations: 241.5 kB / 434.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1148, allocations: 0 / 434.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.438e-05/0.1149, allocations: 15.98 kB / 434.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1149, allocations: 4 kB / 434.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.1149, allocations: 4 kB / 434.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1149, allocations: 4 kB / 434.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1149, allocations: 4 kB / 434.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.1151, allocations: 162.5 kB / 435.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.1153, allocations: 109 kB / 435.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.1153, allocations: 11.98 kB / 435.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.206e-05/0.1154, allocations: 8 kB / 435.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.1154, allocations: 11.98 kB / 435.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.1154, allocations: 7.938 kB / 435.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002356/0.1157, allocations: 241.9 kB / 435.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1157, allocations: 0 / 435.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1159, allocations: 40.02 kB / 435.5 MB, free: 11.66 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001894/0.1178, allocations: 1.024 MB / 436.5 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002185/0.118, allocations: 71.91 kB / 436.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.118, allocations: 0 / 436.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.1181, allocations: 28.23 kB / 436.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.1185, allocations: 67.56 kB / 436.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.1209, allocations: 2.228 MB / 438.9 MB, free: 8.242 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.1213, allocations: 0.7436 MB / 439.7 MB, free: 7.473 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.132e-05/0.1214, allocations: 29.78 kB / 439.7 MB, free: 7.445 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.1215, allocations: 55.42 kB / 439.8 MB, free: 7.391 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1215, allocations: 0 / 439.8 MB, free: 7.391 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.1494, allocations: 5.331 MB / 445.1 MB, free: 2.156 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.702/7.851, allocations: 10.84 kB / 445.1 MB, free: 2.148 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.50015431875363]