Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00202/0.00202, allocations: 116.1 kB / 17.73 MB, free: 5.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002049/0.002049, allocations: 186.8 kB / 20.68 MB, free: 2.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 222.9 MB / 246.4 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 43.92 kB / 358 MB, free: 8.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1204, allocations: 49.43 MB / 407.4 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.00263/0.1231, allocations: 0.9541 MB / 408.4 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004116/0.1236, allocations: 111.6 kB / 408.5 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.32e-05/0.1237, allocations: 3.938 kB / 408.5 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.712e-05/0.1237, allocations: 7.938 kB / 408.5 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.1239, allocations: 11.92 kB / 408.5 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.1242, allocations: 39.83 kB / 408.6 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.1243, allocations: 35.92 kB / 408.6 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.1244, allocations: 32.16 kB / 408.6 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.32e-05/0.1245, allocations: 11.94 kB / 408.6 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.1245, allocations: 19.86 kB / 408.7 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.1246, allocations: 4 kB / 408.7 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.578e-05/0.1246, allocations: 4 kB / 408.7 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.149e-05/0.1247, allocations: 15.92 kB / 408.7 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.1247, allocations: 23.81 kB / 408.7 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.1249, allocations: 63.61 kB / 408.8 MB, free: 5.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1249, allocations: 0 / 408.8 MB, free: 5.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1249, allocations: 0 / 408.8 MB, free: 5.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.1249, allocations: 4 kB / 408.8 MB, free: 5.5 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005279/0.1254, allocations: 379.1 kB / 409.1 MB, free: 5.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1255, allocations: 8.031 kB / 409.1 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.1255, allocations: 8.891 kB / 409.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.1258, allocations: 198.4 kB / 409.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1259, allocations: 8.375 kB / 409.4 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.1259, allocations: 384 / 409.4 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.1262, allocations: 139.7 kB / 409.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1262, allocations: 3.938 kB / 409.5 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1262, allocations: 0 / 409.5 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1262, allocations: 0 / 409.5 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.112e-05/0.1263, allocations: 12 kB / 409.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.1265, allocations: 181.6 kB / 409.7 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.1266, allocations: 66.66 kB / 409.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.803e-05/0.1267, allocations: 40.89 kB / 409.8 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.1267, allocations: 0 / 409.8 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1267, allocations: 38.56 kB / 409.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.1267, allocations: 0 / 409.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002137/0.127, allocations: 89.75 kB / 409.9 MB, free: 4.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.127, allocations: 63.41 kB / 410 MB, free: 4.105 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.1272, allocations: 133.8 kB / 410.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.1272, allocations: 25.7 kB / 410.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.1273, allocations: 88.12 kB / 410.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.1273, allocations: 11.89 kB / 410.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.1274, allocations: 21.72 kB / 410.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1275, allocations: 318.8 kB / 410.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.1275, allocations: 12 kB / 410.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.358e-05/0.1276, allocations: 54.94 kB / 410.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.827e-05/0.1277, allocations: 78.69 kB / 410.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1277, allocations: 0 / 410.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001308/0.1279, allocations: 97.56 kB / 410.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.1279, allocations: 13.81 kB / 410.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1279, allocations: 3.984 kB / 410.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1279, allocations: 4 kB / 410.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.031e-05/0.128, allocations: 12 kB / 410.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.128, allocations: 7.938 kB / 410.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.201e-05/0.128, allocations: 0 / 410.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1281, allocations: 4 kB / 410.9 MB, free: 3.148 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001072/0.1282, allocations: 129.9 kB / 411 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.1283, allocations: 81.72 kB / 411.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/0.1283, allocations: 12.72 kB / 411.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1283, allocations: 0 / 411.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1284, allocations: 3.938 kB / 411.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1284, allocations: 0 / 411.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.1285, allocations: 177.6 kB / 411.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1285, allocations: 0 / 411.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.338e-05/0.1286, allocations: 8 kB / 411.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1286, allocations: 7.938 kB / 411.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.1286, allocations: 0 / 411.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1286, allocations: 4 kB / 411.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1286, allocations: 0 / 411.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.1287, allocations: 105 kB / 411.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.1288, allocations: 96.98 kB / 411.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.1289, allocations: 4 kB / 411.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.881e-05/0.1289, allocations: 4 kB / 411.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-06/0.1289, allocations: 0 / 411.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1289, allocations: 7.938 kB / 411.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.056e-05/0.129, allocations: 103.3 kB / 411.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.129, allocations: 0 / 411.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002014/0.1292, allocations: 12.19 kB / 411.6 MB, free: 2.301 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 0.0001169/0.1293, allocations: 103.7 kB / 411.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.1295, allocations: 47.86 kB / 411.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1295, allocations: 0 / 411.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.866e-06/0.1295, allocations: 0.5 kB / 411.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.1298, allocations: 49.92 kB / 411.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/0.1301, allocations: 165.3 kB / 412 MB, free: 1.906 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.1305, allocations: 0.6924 MB / 412.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.748e-05/0.1305, allocations: 7.984 kB / 412.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.1305, allocations: 11.44 kB / 412.7 MB, free: 1.168 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1305, allocations: 0 / 412.7 MB, free: 1.168 MB / 334.1 MB Notification: Performance of Templates: time 0.003399/0.1339, allocations: 0.6291 MB / 413.3 MB, free: 0.543 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.960844894871116]