Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.001302/0.001302, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.001329/0.001329, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.45/1.45, allocations: 230.5 MB / 254 MB, free: 15.16 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.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 64.14 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1077, allocations: 53.38 MB / 426.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003513/0.1112, allocations: 1.932 MB / 428.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.1135, allocations: 1.328 MB / 429.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.1136, allocations: 7.938 kB / 429.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.1139, allocations: 67.66 kB / 429.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003641/0.1143, allocations: 143.4 kB / 429.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006404/0.1149, allocations: 226.9 kB / 430 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.1152, allocations: 191.4 kB / 430.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1153, allocations: 21.67 kB / 430.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.1154, allocations: 91.62 kB / 430.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.1156, allocations: 91.59 kB / 430.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.1156, allocations: 12 kB / 430.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.1157, allocations: 67.95 kB / 430.5 MB, free: 476 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.081e-05/0.1158, allocations: 59.7 kB / 430.6 MB, free: 416 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.956e-05/0.1159, allocations: 79.42 kB / 430.6 MB, free: 336 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.1163, allocations: 254.9 kB / 430.9 MB, free: 80 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1163, allocations: 0 / 430.9 MB, free: 80 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1163, allocations: 0 / 430.9 MB, free: 80 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.1163, allocations: 0 / 430.9 MB, free: 80 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00083/0.1171, allocations: 0.5543 MB / 431.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1172, allocations: 16.03 kB / 431.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.1172, allocations: 38.73 kB / 431.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.1173, allocations: 24.8 kB / 431.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.1178, allocations: 307.7 kB / 431.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.1178, allocations: 4.312 kB / 431.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.1178, allocations: 12.38 kB / 431.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.1182, allocations: 194.3 kB / 432 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1182, allocations: 0 / 432 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1182, allocations: 0 / 432 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1182, allocations: 4 kB / 432 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.1184, allocations: 43.91 kB / 432.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.1189, allocations: 395.2 kB / 432.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.1192, allocations: 142.5 kB / 432.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.1193, allocations: 51.42 kB / 432.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.1193, allocations: 7.984 kB / 432.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.1195, allocations: 79.33 kB / 432.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.1195, allocations: 0 / 432.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004443/0.12, allocations: 169.4 kB / 432.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.1201, allocations: 192.3 kB / 433.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.1205, allocations: 347 kB / 433.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.1205, allocations: 25.7 kB / 433.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1207, allocations: 132.4 kB / 433.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.1207, allocations: 23.91 kB / 433.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/0.1207, allocations: 41.59 kB / 433.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1209, allocations: 342.8 kB / 434 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.737e-05/0.121, allocations: 31.86 kB / 434 MB, free: 12.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.1211, allocations: 104.6 kB / 434.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.1213, allocations: 106.2 kB / 434.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1213, allocations: 0 / 434.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002658/0.1216, allocations: 141.3 kB / 434.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1216, allocations: 12.19 kB / 434.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1216, allocations: 0 / 434.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1216, allocations: 4 kB / 434.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1218, allocations: 23.98 kB / 434.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.1218, allocations: 7.938 kB / 434.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-05/0.1218, allocations: 4 kB / 434.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1219, allocations: 4 kB / 434.4 MB, free: 12.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001598/0.122, allocations: 161.8 kB / 434.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.1221, allocations: 85.44 kB / 434.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.677e-05/0.1222, allocations: 29.73 kB / 434.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1222, allocations: 4 kB / 434.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1222, allocations: 0 / 434.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1222, allocations: 0 / 434.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.1225, allocations: 253.4 kB / 434.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.1225, allocations: 0 / 434.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.922e-05/0.1225, allocations: 15.94 kB / 435 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.1225, allocations: 7.984 kB / 435 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1226, allocations: 0 / 435 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.1226, allocations: 8.094 kB / 435 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1226, allocations: 0 / 435 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.1229, allocations: 183.4 kB / 435.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.123, allocations: 128.9 kB / 435.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.123, allocations: 4.062 kB / 435.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/0.1231, allocations: 12 kB / 435.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.1231, allocations: 7.984 kB / 435.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.1232, allocations: 8 kB / 435.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002828/0.1234, allocations: 249.9 kB / 435.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1234, allocations: 0 / 435.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000272/0.1237, allocations: 43.88 kB / 435.6 MB, free: 10.87 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.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 (11): * Single equations (assignments): 9 * 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.002079/0.1258, allocations: 1.029 MB / 436.6 MB, free: 9.941 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.126, allocations: 88.14 kB / 436.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.126, allocations: 0 / 436.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.671e-05/0.1261, allocations: 31.92 kB / 436.7 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.1265, allocations: 68.88 kB / 436.8 MB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.1293, allocations: 2.325 MB / 439.1 MB, free: 7.285 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.1297, allocations: 0.7476 MB / 439.9 MB, free: 6.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.524e-05/0.1298, allocations: 29.52 kB / 439.9 MB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.1299, allocations: 59.42 kB / 440 MB, free: 6.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1299, allocations: 4 kB / 440 MB, free: 6.426 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.1593, allocations: 5.697 MB / 445.7 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.033, allocations: 11.97 kB / 445.7 MB, free: 0.8164 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79104e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.csv failed! Error: Could not read variable backSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.csv. Warning: Get data of variable backSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.717584411031567]