Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.001793/0.001793, allocations: 123.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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002261/0.002261, allocations: 207.5 kB / 20.75 MB, free: 2.312 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.434/1.434, allocations: 230.4 MB / 254 MB, free: 15.01 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.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 63.89 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1051, allocations: 53.37 MB / 426.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003446/0.1085, allocations: 1.936 MB / 428.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.1107, allocations: 1.307 MB / 429.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.1108, allocations: 7.938 kB / 429.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.1111, allocations: 75.59 kB / 429.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.1115, allocations: 131.4 kB / 429.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006227/0.1121, allocations: 225.9 kB / 430 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.1124, allocations: 183.5 kB / 430.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1125, allocations: 33.48 kB / 430.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.1126, allocations: 79.69 kB / 430.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.1127, allocations: 87.55 kB / 430.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.1127, allocations: 15.94 kB / 430.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.1129, allocations: 71.94 kB / 430.5 MB, free: 472 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.417e-05/0.113, allocations: 51.84 kB / 430.5 MB, free: 420 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1131, allocations: 87.34 kB / 430.6 MB, free: 332 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.1134, allocations: 243 kB / 430.9 MB, free: 88 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1134, allocations: 0 / 430.9 MB, free: 88 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1134, allocations: 0 / 430.9 MB, free: 88 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1134, allocations: 0 / 430.9 MB, free: 88 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.1965/0.3099, allocations: 0.5539 MB / 431.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.3099, allocations: 10.25 kB / 431.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.335e-05/0.31, allocations: 39.23 kB / 431.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.6e-05/0.3101, allocations: 28.56 kB / 431.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.3106, allocations: 295.3 kB / 431.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.3106, allocations: 8.375 kB / 431.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.3106, allocations: 6.859 kB / 431.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.311, allocations: 177.5 kB / 432 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.311, allocations: 5.281 kB / 432 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.311, allocations: 6.125 kB / 432 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.311, allocations: 1.625 kB / 432 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.3112, allocations: 42.64 kB / 432 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005581/0.3117, allocations: 470.4 kB / 432.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.312, allocations: 138.1 kB / 432.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.729e-05/0.3121, allocations: 59.78 kB / 432.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.3121, allocations: 1.812 kB / 432.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.3123, allocations: 102.5 kB / 432.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.863e-06/0.3123, allocations: 1 kB / 432.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004552/0.3128, allocations: 170.7 kB / 432.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.3128, allocations: 189.4 kB / 433.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.3132, allocations: 340.5 kB / 433.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.3132, allocations: 26.67 kB / 433.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.3133, allocations: 136.9 kB / 433.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.3133, allocations: 21.61 kB / 433.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.3134, allocations: 34.47 kB / 433.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.3135, allocations: 340.2 kB / 434 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.396e-05/0.3135, allocations: 28.03 kB / 434 MB, free: 9.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.872e-05/0.3136, allocations: 93.53 kB / 434.1 MB, free: 9.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.3138, allocations: 100.5 kB / 434.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3138, allocations: 1.312 kB / 434.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002555/0.314, allocations: 141.2 kB / 434.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3141, allocations: 8.359 kB / 434.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3141, allocations: 3.484 kB / 434.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.3141, allocations: 2.531 kB / 434.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.3142, allocations: 22.31 kB / 434.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.3142, allocations: 5.625 kB / 434.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.21e-05/0.3143, allocations: 13.78 kB / 434.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.3143, allocations: 9.094 kB / 434.4 MB, free: 9.078 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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,shiftSample1.y,hold1.y,hold1.u,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.00012/0.3144, allocations: 158.4 kB / 434.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-05/0.3145, allocations: 80.28 kB / 434.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.3146, allocations: 26.55 kB / 434.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3146, allocations: 2.375 kB / 434.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3146, allocations: 1.188 kB / 434.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3146, allocations: 1.156 kB / 434.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.3148, allocations: 252.7 kB / 434.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3148, allocations: 1.188 kB / 434.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.508e-05/0.3149, allocations: 19.94 kB / 435 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.3149, allocations: 2.812 kB / 435 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.3149, allocations: 2.562 kB / 435 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3149, allocations: 7.359 kB / 435 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3149, allocations: 1.312 kB / 435 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.3152, allocations: 184.5 kB / 435.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/0.3152, allocations: 118.8 kB / 435.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.3153, allocations: 13.75 kB / 435.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.3154, allocations: 5.922 kB / 435.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.3154, allocations: 10.64 kB / 435.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.3154, allocations: 4.812 kB / 435.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002459/0.3157, allocations: 250.1 kB / 435.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3157, allocations: 1.031 kB / 435.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002946/0.316, allocations: 36.69 kB / 435.6 MB, free: 8.41 MB / 350.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,hold1.y,hold1.u,shiftSample1.y,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.001889/0.3179, allocations: 1.037 MB / 436.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.3181, allocations: 87.25 kB / 436.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3181, allocations: 1.125 kB / 436.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.237e-05/0.3182, allocations: 31.14 kB / 436.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.3187, allocations: 78.55 kB / 436.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.3212, allocations: 2.282 MB / 439.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.3214, allocations: 0.7495 MB / 439.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.3215, allocations: 35.83 kB / 439.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.3216, allocations: 63.09 kB / 439.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3216, allocations: 1.656 kB / 439.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.355, allocations: 5.51 MB / 445.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.177, allocations: 6.344 kB / 445.5 MB, free: 4.461 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.98963e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.Hold_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv failed! Error: Could not read variable hold1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv. Warning: Get data of variable hold1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.80510969599709]