Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.001688/0.001688, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.002249/0.002249, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.555/1.555, allocations: 177.1 MB / 204.7 MB, free: 8.984 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 58.09 kB / 325.5 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.105, allocations: 53.39 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003035/0.108, allocations: 1.534 MB / 380.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003773/0.1084, allocations: 135.5 kB / 380.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.476e-05/0.1085, allocations: 7.938 kB / 380.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.835e-05/0.1085, allocations: 3.938 kB / 380.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.684e-05/0.1086, allocations: 11.94 kB / 380.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.1088, allocations: 39.89 kB / 380.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.029e-05/0.1089, allocations: 31.86 kB / 380.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.109, allocations: 15.97 kB / 380.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.195e-05/0.109, allocations: 11.94 kB / 380.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.687e-05/0.1091, allocations: 15.92 kB / 380.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.1091, allocations: 4 kB / 380.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.1091, allocations: 4 kB / 380.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.1092, allocations: 7.938 kB / 380.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.1092, allocations: 19.86 kB / 380.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.1093, allocations: 55.69 kB / 380.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1093, allocations: 0 / 380.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1093, allocations: 0 / 380.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1093, allocations: 0 / 380.8 MB, free: 13.57 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003916/0.1097, allocations: 294 kB / 381.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1098, allocations: 15.98 kB / 381.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.1098, allocations: 12.89 kB / 381.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.11, allocations: 129.5 kB / 381.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.11, allocations: 12.31 kB / 381.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.11, allocations: 4.375 kB / 381.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.1103, allocations: 117.5 kB / 381.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1103, allocations: 192 / 381.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.1103, allocations: 3.938 kB / 381.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.1103, allocations: 7.969 kB / 381.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.046e-05/0.1104, allocations: 19.98 kB / 381.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002644/0.1107, allocations: 201.4 kB / 381.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.1108, allocations: 61.2 kB / 381.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.597e-05/0.1109, allocations: 29.77 kB / 381.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.1109, allocations: 3.938 kB / 381.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1109, allocations: 38.48 kB / 381.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1109, allocations: 0 / 381.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002272/0.1112, allocations: 77.56 kB / 381.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.1112, allocations: 81.11 kB / 381.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1113, allocations: 134.2 kB / 382 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1114, allocations: 25.7 kB / 382 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.1114, allocations: 88.14 kB / 382.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.1114, allocations: 15.92 kB / 382.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.1115, allocations: 13.72 kB / 382.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1116, allocations: 318.8 kB / 382.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.783e-05/0.1117, allocations: 7.984 kB / 382.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.132e-05/0.1117, allocations: 35.42 kB / 382.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.589e-05/0.1118, allocations: 51.3 kB / 382.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1118, allocations: 4 kB / 382.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001288/0.1119, allocations: 61.56 kB / 382.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1119, allocations: 4 kB / 382.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1119, allocations: 4 kB / 382.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.112, allocations: 3.938 kB / 382.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.633e-05/0.112, allocations: 16.11 kB / 382.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.112, allocations: 0 / 382.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.737e-05/0.1121, allocations: 11.95 kB / 382.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1121, allocations: 4 kB / 382.7 MB, free: 11.47 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.544e-05/0.1122, allocations: 125.8 kB / 382.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-05/0.1122, allocations: 45.64 kB / 382.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.831e-05/0.1123, allocations: 8.328 kB / 382.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1123, allocations: 11.88 kB / 382.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1123, allocations: 0 / 382.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.1123, allocations: 0 / 382.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.1124, allocations: 121.3 kB / 383 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1124, allocations: 0 / 383 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.454e-05/0.1125, allocations: 8 kB / 383 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1125, allocations: 3.938 kB / 383 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1125, allocations: 7.984 kB / 383 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1125, allocations: 0 / 383 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1125, allocations: 0 / 383 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.1127, allocations: 160.7 kB / 383.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.1127, allocations: 19.95 kB / 383.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.1127, allocations: 4 kB / 383.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.203e-05/0.1128, allocations: 11.92 kB / 383.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.1128, allocations: 4 kB / 383.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.1128, allocations: 0 / 383.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.504e-05/0.1129, allocations: 103.3 kB / 383.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1129, allocations: 0 / 383.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.1131, allocations: 4 kB / 383.3 MB, free: 10.77 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 9.841e-05/0.1132, allocations: 99.23 kB / 383.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.1133, allocations: 36.11 kB / 383.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1133, allocations: 0 / 383.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.052e-05/0.1134, allocations: 4 kB / 383.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.1137, allocations: 26.62 kB / 383.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002687/0.1139, allocations: 158.2 kB / 383.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.194e-05/0.114, allocations: 75.33 kB / 383.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.956e-05/0.114, allocations: 4 kB / 383.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.114, allocations: 8.625 kB / 383.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.114, allocations: 4 kB / 383.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Templates: time 0.002511/0.1166, allocations: 0.5351 MB / 384.2 MB, free: 9.785 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.464258033083752]