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.001469/0.001469, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001788/0.001788, allocations: 165.3 kB / 24.5 MB, free: 3.453 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.489/1.489, allocations: 177.1 MB / 204.7 MB, free: 9.008 MB / 190.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: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 61.58 kB / 325.5 MB, free: 240 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1088, allocations: 53.39 MB / 378.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003546/0.1123, allocations: 1.906 MB / 380.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.1145, allocations: 1.223 MB / 382 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.1147, allocations: 11.94 kB / 382 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.115, allocations: 71.66 kB / 382.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.1153, allocations: 131.4 kB / 382.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006397/0.116, allocations: 242.8 kB / 382.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.1163, allocations: 183.5 kB / 382.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1164, allocations: 25.73 kB / 382.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.1165, allocations: 87.56 kB / 382.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.1166, allocations: 87.66 kB / 382.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.1167, allocations: 12 kB / 382.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.1168, allocations: 67.94 kB / 382.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.15e-05/0.1169, allocations: 59.72 kB / 383 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.28e-05/0.117, allocations: 59.59 kB / 383 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.1174, allocations: 251 kB / 383.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1174, allocations: 0 / 383.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1174, allocations: 4 kB / 383.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1174, allocations: 0 / 383.3 MB, free: 11.11 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007724/0.1182, allocations: 486.4 kB / 383.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1182, allocations: 11.98 kB / 383.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.1183, allocations: 32.73 kB / 383.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.1187, allocations: 233.5 kB / 384 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.1187, allocations: 12.31 kB / 384.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.1187, allocations: 4.375 kB / 384.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.1191, allocations: 204.8 kB / 384.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.1191, allocations: 0 / 384.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1191, allocations: 0 / 384.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.1192, allocations: 3.984 kB / 384.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.1193, allocations: 43.92 kB / 384.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/0.1198, allocations: 402.2 kB / 384.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.1201, allocations: 146.5 kB / 384.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.1203, allocations: 59.41 kB / 384.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1203, allocations: 4 kB / 384.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.1205, allocations: 101 kB / 385 MB, free: 9.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.1205, allocations: 4 kB / 385 MB, free: 9.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004419/0.1209, allocations: 173.9 kB / 385.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.121, allocations: 166.2 kB / 385.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003853/0.1214, allocations: 336.2 kB / 385.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.1214, allocations: 29.7 kB / 385.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.1215, allocations: 140.3 kB / 385.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.1216, allocations: 15.84 kB / 385.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/0.1216, allocations: 37.7 kB / 385.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1218, allocations: 338.8 kB / 386.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.498e-05/0.1219, allocations: 23.98 kB / 386.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.1221, allocations: 154.2 kB / 386.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.1222, allocations: 97.11 kB / 386.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1222, allocations: 4 kB / 386.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002762/0.1225, allocations: 141.4 kB / 386.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1225, allocations: 8 kB / 386.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1225, allocations: 4.156 kB / 386.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1226, allocations: 4 kB / 386.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1227, allocations: 23.92 kB / 386.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1227, allocations: 0 / 386.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.298e-05/0.1228, allocations: 15.94 kB / 386.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.1228, allocations: 8 kB / 386.7 MB, free: 7.375 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.0001404/0.1229, allocations: 149.8 kB / 386.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.123, allocations: 77.48 kB / 386.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.1233, allocations: 131.5 kB / 387 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1233, allocations: 4 kB / 387 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1233, allocations: 0 / 387 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1233, allocations: 0 / 387 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.1235, allocations: 193.1 kB / 387.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1235, allocations: 0 / 387.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.452e-05/0.1236, allocations: 12 kB / 387.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.1236, allocations: 7.984 kB / 387.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1236, allocations: 0 / 387.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.1236, allocations: 8.062 kB / 387.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1236, allocations: 0 / 387.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.1239, allocations: 199.3 kB / 387.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.059e-05/0.124, allocations: 43.81 kB / 387.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.1241, allocations: 4 kB / 387.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.1241, allocations: 8 kB / 387.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.1242, allocations: 11.92 kB / 387.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.1242, allocations: 11.98 kB / 387.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002607/0.1245, allocations: 247.1 kB / 387.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1245, allocations: 0 / 387.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.1247, allocations: 39.92 kB / 387.8 MB, free: 6.172 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.001703/0.1264, allocations: 448.4 kB / 388.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.1267, allocations: 83.89 kB / 388.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1267, allocations: 0 / 388.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.1268, allocations: 39.91 kB / 388.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.1273, allocations: 78.67 kB / 388.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007762/0.1281, allocations: 401.7 kB / 388.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.1282, allocations: 132.2 kB / 389 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.1283, allocations: 21.64 kB / 389 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.1284, allocations: 32.48 kB / 389 MB, free: 5.051 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1284, allocations: 0 / 389 MB, free: 5.051 MB / 350.1 MB Notification: Performance of Templates: time 0.007366/0.1357, allocations: 3.131 MB / 392.2 MB, free: 1.957 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.509073214954697]