Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 51.91 kB / 373 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09998/0.1015, allocations: 53.33 MB / 426.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003708/0.1053, allocations: 1.901 MB / 428.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.1076, allocations: 1.313 MB / 429.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.1078, allocations: 3.938 kB / 429.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.1081, allocations: 67.67 kB / 429.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004248/0.1086, allocations: 131.4 kB / 429.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007882/0.1093, allocations: 242.9 kB / 430 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.1097, allocations: 175.5 kB / 430.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1098, allocations: 21.55 kB / 430.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.11, allocations: 83.56 kB / 430.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.1101, allocations: 83.67 kB / 430.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.1101, allocations: 15.94 kB / 430.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.1103, allocations: 71.89 kB / 430.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.1104, allocations: 55.77 kB / 430.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.541e-05/0.1105, allocations: 75.48 kB / 430.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.111, allocations: 239 kB / 430.8 MB, free: 352 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.111, allocations: 4 kB / 430.8 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.111, allocations: 0 / 430.8 MB, free: 348 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.111, allocations: 0 / 430.8 MB, free: 348 kB / 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.1779/0.2889, allocations: 0.5433 MB / 431.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.2889, allocations: 9.781 kB / 431.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.2889, allocations: 40.86 kB / 431.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.676e-05/0.289, allocations: 23.42 kB / 431.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/0.2895, allocations: 290.5 kB / 431.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.2895, allocations: 9.344 kB / 431.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.2895, allocations: 4.25 kB / 431.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.2899, allocations: 160.3 kB / 431.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2899, allocations: 4.438 kB / 431.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.2899, allocations: 5.188 kB / 431.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.2899, allocations: 3.312 kB / 431.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.2901, allocations: 37.56 kB / 431.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.2906, allocations: 384.8 kB / 432.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.2908, allocations: 115.1 kB / 432.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/0.2909, allocations: 51.08 kB / 432.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.2909, allocations: 3.422 kB / 432.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.2911, allocations: 75.75 kB / 432.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.244e-06/0.2911, allocations: 2.016 kB / 432.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004201/0.2915, allocations: 160.3 kB / 432.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.2916, allocations: 157.1 kB / 432.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.2919, allocations: 340.5 kB / 433.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.2919, allocations: 27.33 kB / 433.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.292, allocations: 133.2 kB / 433.3 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.292, allocations: 17.8 kB / 433.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.2921, allocations: 32.83 kB / 433.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.651e-05/0.2921, allocations: 337.6 kB / 433.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.826e-05/0.2922, allocations: 22.81 kB / 433.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.682e-05/0.2923, allocations: 91.59 kB / 433.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.2924, allocations: 82.69 kB / 433.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2924, allocations: 2.312 kB / 433.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002092/0.2926, allocations: 124.2 kB / 434 MB, free: 9.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2926, allocations: 5.375 kB / 434 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2926, allocations: 1.75 kB / 434 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2927, allocations: 7.938 kB / 434 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.2928, allocations: 20.41 kB / 434 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2928, allocations: 1.781 kB / 434 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.385e-05/0.2928, allocations: 12.72 kB / 434 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.2929, allocations: 3.578 kB / 434 MB, free: 9.105 MB / 350.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.0001013/0.293, allocations: 156.7 kB / 434.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.696e-05/0.293, allocations: 76 kB / 434.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.256e-05/0.2931, allocations: 32.28 kB / 434.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2931, allocations: 1.438 kB / 434.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2931, allocations: 0 / 434.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2931, allocations: 1.344 kB / 434.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.2933, allocations: 247.6 kB / 434.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2933, allocations: 1.094 kB / 434.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.441e-05/0.2933, allocations: 12.55 kB / 434.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2933, allocations: 1.344 kB / 434.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.2933, allocations: 6.062 kB / 434.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2934, allocations: 1.625 kB / 434.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2934, allocations: 1.938 kB / 434.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.2936, allocations: 170.1 kB / 434.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.2937, allocations: 115.6 kB / 434.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.2937, allocations: 8.672 kB / 434.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.329e-05/0.2938, allocations: 7.453 kB / 434.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.2938, allocations: 15.02 kB / 434.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.2938, allocations: 2.594 kB / 434.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002142/0.294, allocations: 250 kB / 435.1 MB, free: 8.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.294, allocations: 0 / 435.1 MB, free: 8.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.2943, allocations: 33.14 kB / 435.2 MB, free: 8.453 MB / 350.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.00179/0.2961, allocations: 1.02 MB / 436.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.2963, allocations: 69.83 kB / 436.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2963, allocations: 0 / 436.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.768e-05/0.2964, allocations: 31.89 kB / 436.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.2968, allocations: 65.22 kB / 436.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.299, allocations: 2.23 MB / 438.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.2992, allocations: 0.745 MB / 439.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.443e-05/0.2993, allocations: 35.23 kB / 439.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.031e-05/0.2993, allocations: 60.25 kB / 439.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2993, allocations: 0 / 439.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.3305, allocations: 5.335 MB / 444.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.289, allocations: 1.094 kB / 444.7 MB, free: 4.883 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.713607163866982]