Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.402/1.402, allocations: 177.2 MB / 204.9 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 47.92 kB / 325.6 MB, free: 288 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1133, allocations: 53.34 MB / 378.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002932/0.1162, allocations: 1.537 MB / 380.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003778/0.1166, allocations: 139.5 kB / 380.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.705e-05/0.1166, allocations: 4 kB / 380.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.439e-05/0.1167, allocations: 3.938 kB / 380.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.1168, allocations: 11.94 kB / 380.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.117, allocations: 43.83 kB / 380.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.875e-05/0.1171, allocations: 27.92 kB / 380.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.711e-05/0.1172, allocations: 8 kB / 380.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.1173, allocations: 23.91 kB / 380.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.212e-05/0.1173, allocations: 11.88 kB / 380.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.1173, allocations: 0 / 380.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.1173, allocations: 4 kB / 380.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.407e-05/0.1174, allocations: 19.86 kB / 380.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.1174, allocations: 15.88 kB / 380.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.1175, allocations: 47.75 kB / 380.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1175, allocations: 4 kB / 380.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1175, allocations: 0 / 380.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1176, allocations: 3.984 kB / 380.8 MB, free: 13.8 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.0004905/0.118, allocations: 294.1 kB / 381.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1181, allocations: 8.031 kB / 381.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.1181, allocations: 8.891 kB / 381.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.1184, allocations: 134.3 kB / 381.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1184, allocations: 4.375 kB / 381.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.1184, allocations: 12.38 kB / 381.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.1187, allocations: 109.6 kB / 381.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1187, allocations: 192 / 381.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1187, allocations: 3.938 kB / 381.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1187, allocations: 4 kB / 381.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.852e-05/0.1188, allocations: 23.86 kB / 381.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002816/0.1191, allocations: 201.5 kB / 381.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.1192, allocations: 69.12 kB / 381.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.735e-05/0.1193, allocations: 29.77 kB / 381.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.1193, allocations: 3.938 kB / 381.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1194, allocations: 34.56 kB / 381.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1194, allocations: 0 / 381.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000228/0.1196, allocations: 73.56 kB / 381.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.1197, allocations: 85.09 kB / 381.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.1198, allocations: 134.2 kB / 382 MB, free: 12.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1198, allocations: 29.7 kB / 382 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.1198, allocations: 84.14 kB / 382.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.256e-06/0.1199, allocations: 3.953 kB / 382.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.1199, allocations: 25.7 kB / 382.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.12, allocations: 314.8 kB / 382.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.94e-05/0.1201, allocations: 7.984 kB / 382.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.917e-05/0.1201, allocations: 35.38 kB / 382.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.165e-05/0.1202, allocations: 47.42 kB / 382.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1202, allocations: 0 / 382.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001276/0.1203, allocations: 69.48 kB / 382.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1203, allocations: 11.94 kB / 382.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1203, allocations: 0 / 382.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1204, allocations: 0 / 382.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.412e-05/0.1204, allocations: 12.12 kB / 382.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.1204, allocations: 7.984 kB / 382.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.253e-05/0.1204, allocations: 7.953 kB / 382.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1205, allocations: 4 kB / 382.6 MB, free: 11.71 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 8.766e-05/0.1205, allocations: 121.7 kB / 382.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/0.1206, allocations: 53.62 kB / 382.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.1206, allocations: 8.344 kB / 382.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1206, allocations: 0 / 382.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.1207, allocations: 0 / 382.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1207, allocations: 0 / 382.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.1208, allocations: 133.2 kB / 383 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1208, allocations: 3.938 kB / 383 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.674e-05/0.1208, allocations: 8 kB / 383 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1208, allocations: 3.938 kB / 383 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.1209, allocations: 0 / 383 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1209, allocations: 0 / 383 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1209, allocations: 0 / 383 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.121, allocations: 168.3 kB / 383.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.1211, allocations: 20.3 kB / 383.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.1211, allocations: 0 / 383.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-05/0.1211, allocations: 4 kB / 383.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.1211, allocations: 4 kB / 383.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.1212, allocations: 3.984 kB / 383.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.453e-05/0.1212, allocations: 103.3 kB / 383.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1212, allocations: 0 / 383.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.1215, allocations: 4 kB / 383.3 MB, free: 11.02 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 8.532e-05/0.1215, allocations: 105.9 kB / 383.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.1217, allocations: 32.09 kB / 383.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.1217, allocations: 4.062 kB / 383.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.195e-05/0.1217, allocations: 8 kB / 383.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.122, allocations: 26.44 kB / 383.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.1223, allocations: 154.3 kB / 383.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.789e-05/0.1223, allocations: 71.33 kB / 383.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.808e-05/0.1223, allocations: 0 / 383.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.1224, allocations: 16.5 kB / 383.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1224, allocations: 8 kB / 383.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Templates: time 0.002726/0.1251, allocations: 0.5285 MB / 384.2 MB, free: 10.02 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.076660190010443]