Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002098/0.002098, allocations: 188.3 kB / 23.72 MB, free: 4.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 48.06 kB / 370.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.289, allocations: 52.2 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003391/0.2924, allocations: 1.904 MB / 424.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.2945, allocations: 1.177 MB / 425.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.2946, allocations: 11.88 kB / 425.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.295, allocations: 59.73 kB / 425.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002762/0.2952, allocations: 95.58 kB / 425.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008017/0.296, allocations: 262.3 kB / 426.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.2963, allocations: 175.5 kB / 426.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.2964, allocations: 29.73 kB / 426.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.2965, allocations: 79.69 kB / 426.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.2967, allocations: 83.61 kB / 426.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.2967, allocations: 8 kB / 426.5 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.2969, allocations: 67.94 kB / 426.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.116e-05/0.297, allocations: 47.84 kB / 426.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.725e-05/0.2971, allocations: 75.48 kB / 426.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.2974, allocations: 247.3 kB / 426.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2974, allocations: 0 / 426.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2974, allocations: 0 / 426.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.2974, allocations: 8 kB / 426.9 MB, free: 10.29 MB / 334.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.0007285/0.2982, allocations: 466.6 kB / 427.4 MB, free: 9.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.2982, allocations: 8.031 kB / 427.4 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.227e-05/0.2983, allocations: 42.73 kB / 427.4 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/0.2983, allocations: 20.8 kB / 427.5 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.2987, allocations: 233.4 kB / 427.7 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.2987, allocations: 8.375 kB / 427.7 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.2988, allocations: 11.94 kB / 427.7 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.2991, allocations: 155.6 kB / 427.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2991, allocations: 0 / 427.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.2991, allocations: 4 kB / 427.9 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2991, allocations: 4 kB / 427.9 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.2992, allocations: 39.91 kB / 427.9 MB, free: 9.223 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005237/0.2998, allocations: 357.4 kB / 428.3 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.3, allocations: 111.9 kB / 428.4 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.227e-05/0.3001, allocations: 46.55 kB / 428.4 MB, free: 8.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.3001, allocations: 4 kB / 428.4 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.3003, allocations: 79.33 kB / 428.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.3003, allocations: 0 / 428.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003807/0.3007, allocations: 153.4 kB / 428.6 MB, free: 8.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.3008, allocations: 158.2 kB / 428.8 MB, free: 8.191 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.3011, allocations: 330.1 kB / 429.1 MB, free: 7.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.3011, allocations: 33.64 kB / 429.1 MB, free: 7.824 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.3013, allocations: 128.1 kB / 429.3 MB, free: 7.695 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.3013, allocations: 15.91 kB / 429.3 MB, free: 7.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.3013, allocations: 33.66 kB / 429.3 MB, free: 7.641 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3015, allocations: 334.8 kB / 429.6 MB, free: 7.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.197e-05/0.3016, allocations: 27.92 kB / 429.7 MB, free: 7.277 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.3017, allocations: 86.8 kB / 429.8 MB, free: 7.168 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.3018, allocations: 80.22 kB / 429.8 MB, free: 7.074 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3018, allocations: 0 / 429.8 MB, free: 7.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002408/0.3021, allocations: 129.4 kB / 430 MB, free: 6.941 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3021, allocations: 4 kB / 430 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3021, allocations: 4 kB / 430 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3021, allocations: 0 / 430 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.3022, allocations: 20.3 kB / 430 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.3022, allocations: 0 / 430 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.478e-05/0.3023, allocations: 23.83 kB / 430 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3023, allocations: 4 kB / 430 MB, free: 6.887 MB / 334.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.0001488/0.3025, allocations: 157.9 kB / 430.2 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.58e-05/0.3026, allocations: 65.55 kB / 430.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.3028, allocations: 119.3 kB / 430.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3028, allocations: 4 kB / 430.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3028, allocations: 0 / 430.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3028, allocations: 3.938 kB / 430.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.303, allocations: 208.7 kB / 430.6 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.303, allocations: 4.062 kB / 430.6 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.282e-05/0.3031, allocations: 19.92 kB / 430.6 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3031, allocations: 0 / 430.6 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.3031, allocations: 4 kB / 430.6 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3031, allocations: 0 / 430.6 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3031, allocations: 0 / 430.6 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.3034, allocations: 174.5 kB / 430.8 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.389e-05/0.3035, allocations: 35.78 kB / 430.8 MB, free: 6.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.3035, allocations: 4 kB / 430.8 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.469e-05/0.3036, allocations: 7.984 kB / 430.8 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.3036, allocations: 15.86 kB / 430.8 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.3036, allocations: 4 kB / 430.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002401/0.3039, allocations: 241.2 kB / 431.1 MB, free: 5.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3039, allocations: 0 / 431.1 MB, free: 5.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.3041, allocations: 35.98 kB / 431.1 MB, free: 5.711 MB / 334.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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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.001958/0.3061, allocations: 1.009 MB / 432.1 MB, free: 4.832 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.3063, allocations: 79.89 kB / 432.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3063, allocations: 3.938 kB / 432.2 MB, free: 4.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.424e-05/0.3064, allocations: 31.86 kB / 432.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.3068, allocations: 60.67 kB / 432.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.3094, allocations: 2.203 MB / 434.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.3098, allocations: 0.7398 MB / 435.2 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.536e-05/0.3099, allocations: 25.47 kB / 435.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.989e-05/0.31, allocations: 63.34 kB / 435.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.31, allocations: 4 kB / 435.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04167/0.3516, allocations: 5.4 MB / 440.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.18, allocations: 5.734 kB / 440.7 MB, free: 12.16 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 13.691527907038108]