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.001636/0.001636, allocations: 120.7 kB / 17.79 MB, free: 5.137 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.001816/0.001816, allocations: 186.9 kB / 20.73 MB, free: 2.207 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.407/1.407, allocations: 225.6 MB / 249.1 MB, free: 3.57 MB / 190.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.001535/0.001535, allocations: 63.84 kB / 365.6 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09251/0.09405, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003583/0.09763, allocations: 1.876 MB / 419.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.09974, allocations: 1.169 MB / 420.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.09987, allocations: 3.938 kB / 420.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.1002, allocations: 63.72 kB / 420.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.1005, allocations: 95.58 kB / 421 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007439/0.1012, allocations: 261.6 kB / 421.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.1015, allocations: 171.5 kB / 421.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1016, allocations: 25.55 kB / 421.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.1017, allocations: 75.69 kB / 421.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.1018, allocations: 83.67 kB / 421.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.1018, allocations: 8 kB / 421.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.102, allocations: 71.88 kB / 421.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.727e-05/0.1021, allocations: 51.78 kB / 421.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.777e-05/0.1022, allocations: 71.48 kB / 421.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.1025, allocations: 246.9 kB / 422 MB, free: 8.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1026, allocations: 0 / 422 MB, free: 8.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1026, allocations: 0 / 422 MB, free: 8.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.1026, allocations: 4 kB / 422 MB, free: 8.324 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.0007764/0.1033, allocations: 0.531 MB / 422.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1034, allocations: 8.031 kB / 422.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.867e-05/0.1034, allocations: 42.73 kB / 422.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.1035, allocations: 24.8 kB / 422.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.1039, allocations: 291.7 kB / 422.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1039, allocations: 12.36 kB / 422.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.1039, allocations: 7.938 kB / 422.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.1043, allocations: 155.6 kB / 423.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1043, allocations: 0 / 423.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.1043, allocations: 4 kB / 423.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1043, allocations: 0 / 423.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.1044, allocations: 39.91 kB / 423.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.1049, allocations: 394.3 kB / 423.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.1052, allocations: 111.8 kB / 423.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.32e-05/0.1053, allocations: 50.56 kB / 423.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1053, allocations: 0 / 423.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.1055, allocations: 83.38 kB / 423.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.1055, allocations: 0 / 423.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003869/0.1059, allocations: 157.6 kB / 423.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.106, allocations: 158.2 kB / 424.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.1063, allocations: 330.6 kB / 424.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1063, allocations: 25.7 kB / 424.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.524e-05/0.1064, allocations: 128.1 kB / 424.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.1065, allocations: 15.91 kB / 424.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.1065, allocations: 33.66 kB / 424.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1067, allocations: 334.9 kB / 424.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.087e-05/0.1067, allocations: 23.98 kB / 424.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.1069, allocations: 94.66 kB / 425 MB, free: 4.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.107, allocations: 84.22 kB / 425.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.107, allocations: 4 kB / 425.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002264/0.1072, allocations: 117.5 kB / 425.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1073, allocations: 6.188 kB / 425.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1073, allocations: 4 kB / 425.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1073, allocations: 8.109 kB / 425.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1074, allocations: 19.94 kB / 425.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1074, allocations: 0 / 425.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.122e-05/0.1075, allocations: 19.81 kB / 425.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.1075, allocations: 4 kB / 425.3 MB, free: 4.703 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.0001515/0.1076, allocations: 153.8 kB / 425.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.95e-05/0.1077, allocations: 69.48 kB / 425.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.727e-05/0.1078, allocations: 29.7 kB / 425.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1078, allocations: 4.062 kB / 425.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1078, allocations: 4.312 kB / 425.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1078, allocations: 3.938 kB / 425.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.108, allocations: 237.6 kB / 425.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.108, allocations: 0 / 425.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.65e-05/0.1081, allocations: 15.92 kB / 425.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1081, allocations: 0 / 425.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1081, allocations: 4 kB / 425.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1081, allocations: 0 / 425.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1081, allocations: 4 kB / 425.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.1084, allocations: 170.6 kB / 426 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.1085, allocations: 120.9 kB / 426.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.1085, allocations: 4 kB / 426.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.891e-05/0.1086, allocations: 0 / 426.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.1086, allocations: 15.92 kB / 426.1 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1086, allocations: 4 kB / 426.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002414/0.1089, allocations: 245.9 kB / 426.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1089, allocations: 0 / 426.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1091, allocations: 35.98 kB / 426.4 MB, free: 3.492 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.001963/0.1111, allocations: 1.031 MB / 427.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002782/0.1114, allocations: 71.84 kB / 427.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1114, allocations: 0 / 427.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/0.1115, allocations: 27.98 kB / 427.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.1119, allocations: 55.48 kB / 427.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.1146, allocations: 2.206 MB / 429.8 MB, free: 132 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.1149, allocations: 0.7397 MB / 430.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.517e-05/0.115, allocations: 29.53 kB / 430.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.702e-05/0.1151, allocations: 59.41 kB / 430.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1151, allocations: 0 / 430.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.1431, allocations: 5.252 MB / 435.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.297, allocations: 8.062 kB / 435.9 MB, free: 10.12 MB / 366.1 MB " [Timeout remaining time 652] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.113989262841642]