Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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.001764/0.001764, allocations: 73.72 kB / 21.24 MB, free: 0.5547 MB / 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.002129/0.002129, allocations: 160.3 kB / 24.5 MB, free: 3.715 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.445/1.445, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] 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.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 56.27 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1045, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.003085/0.1075, allocations: 0.8771 MB / 379.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004378/0.108, allocations: 119.5 kB / 379.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/0.1081, allocations: 0 / 379.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.721e-05/0.1081, allocations: 11.92 kB / 379.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.1082, allocations: 3.938 kB / 379.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.1085, allocations: 39.89 kB / 380 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.1086, allocations: 35.86 kB / 380 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.1087, allocations: 23.92 kB / 380 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.089e-05/0.1088, allocations: 15.92 kB / 380 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.928e-05/0.1088, allocations: 15.92 kB / 380 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.1089, allocations: 8 kB / 380.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.646e-05/0.1089, allocations: 4 kB / 380.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.136e-05/0.1089, allocations: 11.94 kB / 380.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.109, allocations: 23.84 kB / 380.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.1091, allocations: 55.69 kB / 380.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1091, allocations: 3.938 kB / 380.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1091, allocations: 0 / 380.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1091, allocations: 3.938 kB / 380.2 MB, free: 14.4 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005273/0.1097, allocations: 290.1 kB / 380.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1097, allocations: 8.031 kB / 380.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.1097, allocations: 12.89 kB / 380.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.11, allocations: 138.4 kB / 380.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1101, allocations: 384 / 380.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.1101, allocations: 4.375 kB / 380.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.1104, allocations: 135.7 kB / 380.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1104, allocations: 4.172 kB / 380.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.1104, allocations: 11.94 kB / 380.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.1104, allocations: 4 kB / 380.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.53e-05/0.1104, allocations: 16 kB / 380.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.1106, allocations: 117.2 kB / 380.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.1108, allocations: 62.69 kB / 380.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.636e-05/0.1109, allocations: 28.86 kB / 381 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.1109, allocations: 0 / 381 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.111, allocations: 42.55 kB / 381 MB, free: 13.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.111, allocations: 0 / 381 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002782/0.1112, allocations: 89.56 kB / 381.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.071e-05/0.1113, allocations: 59.34 kB / 381.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.1115, allocations: 133.8 kB / 381.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.1115, allocations: 25.7 kB / 381.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.1116, allocations: 88.14 kB / 381.4 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.1116, allocations: 7.938 kB / 381.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.1116, allocations: 25.72 kB / 381.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.1118, allocations: 322.8 kB / 381.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.041e-05/0.1119, allocations: 4 kB / 381.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.62e-05/0.112, allocations: 58.8 kB / 381.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.1121, allocations: 74.75 kB / 381.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.1121, allocations: 4 kB / 381.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002125/0.1123, allocations: 89.67 kB / 382 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1123, allocations: 14.98 kB / 382 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1123, allocations: 4 kB / 382 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.1124, allocations: 3.938 kB / 382 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.615e-05/0.1124, allocations: 4.188 kB / 382 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.1124, allocations: 4.312 kB / 382 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.478e-05/0.1125, allocations: 7.938 kB / 382 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1125, allocations: 4 kB / 382 MB, free: 12.32 MB / 350.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: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * 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.0001943/0.1127, allocations: 125.8 kB / 382.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.1128, allocations: 69.64 kB / 382.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.1129, allocations: 20.42 kB / 382.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.1129, allocations: 3.938 kB / 382.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.1129, allocations: 0 / 382.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1129, allocations: 4 kB / 382.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.113, allocations: 109.3 kB / 382.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.113, allocations: 0 / 382.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.113, allocations: 7.938 kB / 382.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.113, allocations: 0 / 382.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.113, allocations: 0 / 382.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.113, allocations: 4 kB / 382.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1131, allocations: 3.938 kB / 382.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.1132, allocations: 105 kB / 382.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.1133, allocations: 15.89 kB / 382.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.1133, allocations: 7.984 kB / 382.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.05e-05/0.1134, allocations: 8 kB / 382.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-06/0.1134, allocations: 3.938 kB / 382.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.1134, allocations: 0 / 382.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.1135, allocations: 102.1 kB / 382.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1135, allocations: 0 / 382.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003905/0.1139, allocations: 8 kB / 382.6 MB, free: 11.66 MB / 350.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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * 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.0001309/0.114, allocations: 107.2 kB / 382.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.1142, allocations: 39.92 kB / 382.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1142, allocations: 0 / 382.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-07/0.1142, allocations: 3.938 kB / 382.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.1145, allocations: 43.94 kB / 382.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.1149, allocations: 161.5 kB / 382.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.115, allocations: 80.47 kB / 383 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.475e-05/0.115, allocations: 8 kB / 383 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.115, allocations: 8.5 kB / 383 MB, free: 11.16 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.115, allocations: 4 kB / 383 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Templates: time 0.0042/0.1192, allocations: 0.6921 MB / 383.7 MB, free: 10.48 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.237935567973182]