Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001365/0.001365, 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.001741/0.001741, allocations: 164.6 kB / 24.5 MB, free: 3.449 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.488/1.488, allocations: 177.1 MB / 204.7 MB, free: 8.883 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.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 61.38 kB / 325.5 MB, free: 216 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1085, allocations: 53.39 MB / 378.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.00375/0.1122, allocations: 1.529 MB / 380.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005087/0.1127, allocations: 139.5 kB / 380.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.1128, allocations: 0 / 380.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.022e-05/0.1129, allocations: 7.922 kB / 380.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.113, allocations: 11.92 kB / 380.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.1133, allocations: 43.59 kB / 380.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.1135, allocations: 39.84 kB / 380.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1136, allocations: 11.94 kB / 380.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.895e-05/0.1137, allocations: 15.92 kB / 380.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.18e-05/0.1137, allocations: 7.938 kB / 380.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.1137, allocations: 0 / 380.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.1138, allocations: 4 kB / 380.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.63e-05/0.1138, allocations: 19.92 kB / 380.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.773e-05/0.1139, allocations: 15.88 kB / 380.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.114, allocations: 43.81 kB / 380.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.114, allocations: 0 / 380.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.114, allocations: 0 / 380.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1141, allocations: 0 / 380.8 MB, free: 13.62 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.0006021/0.1147, allocations: 290.1 kB / 381.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.1147, allocations: 11.98 kB / 381.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.1147, allocations: 8.891 kB / 381.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.1151, allocations: 146.3 kB / 381.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1151, allocations: 384 / 381.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.1151, allocations: 4.375 kB / 381.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.1154, allocations: 113.6 kB / 381.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1154, allocations: 192 / 381.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.1155, allocations: 7.938 kB / 381.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.1155, allocations: 4 kB / 381.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.92e-05/0.1155, allocations: 15.94 kB / 381.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.1158, allocations: 213.4 kB / 381.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.116, allocations: 53.14 kB / 381.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1161, allocations: 25.77 kB / 381.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.1161, allocations: 7.938 kB / 381.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.1161, allocations: 38.55 kB / 381.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.1161, allocations: 0 / 381.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000228/0.1164, allocations: 69.58 kB / 381.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.1165, allocations: 89.22 kB / 381.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.1166, allocations: 129.8 kB / 382 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.1166, allocations: 25.7 kB / 382 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.431e-05/0.1167, allocations: 80.14 kB / 382.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.152e-05/0.1167, allocations: 8 kB / 382.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.1167, allocations: 21.67 kB / 382.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1169, allocations: 314.8 kB / 382.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.138e-05/0.1169, allocations: 7.938 kB / 382.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.601e-05/0.117, allocations: 35.42 kB / 382.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.327e-05/0.117, allocations: 43.38 kB / 382.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.117, allocations: 0 / 382.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001421/0.1172, allocations: 65.55 kB / 382.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1172, allocations: 4 kB / 382.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1172, allocations: 0 / 382.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1172, allocations: 4 kB / 382.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.118e-05/0.1172, allocations: 128 / 382.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1172, allocations: 4 kB / 382.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.481e-05/0.1173, allocations: 15.94 kB / 382.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.1173, allocations: 4 kB / 382.6 MB, free: 11.57 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.833e-05/0.1174, allocations: 121.8 kB / 382.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.174e-05/0.1175, allocations: 49.59 kB / 382.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.1175, allocations: 11.98 kB / 382.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1175, allocations: 0 / 382.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1175, allocations: 0 / 382.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1175, allocations: 0 / 382.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.1177, allocations: 117.2 kB / 382.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1177, allocations: 4 kB / 382.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.999e-06/0.1177, allocations: 4 kB / 382.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1177, allocations: 3.938 kB / 382.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1177, allocations: 0 / 382.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1177, allocations: 0 / 382.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1177, allocations: 4 kB / 382.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.1179, allocations: 164.3 kB / 383.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.1179, allocations: 15.89 kB / 383.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.1179, allocations: 3.984 kB / 383.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-05/0.118, allocations: 7.938 kB / 383.1 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.118, allocations: 4 kB / 383.1 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.118, allocations: 4 kB / 383.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1181, allocations: 102.2 kB / 383.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1181, allocations: 0 / 383.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.1183, allocations: 4 kB / 383.2 MB, free: 10.89 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 0.0001168/0.1185, allocations: 103.2 kB / 383.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.1186, allocations: 27.92 kB / 383.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1186, allocations: 256 / 383.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.444e-05/0.1186, allocations: 8 kB / 383.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.119, allocations: 23.28 kB / 383.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.1193, allocations: 146.3 kB / 383.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.1194, allocations: 75.33 kB / 383.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.807e-05/0.1195, allocations: 0 / 383.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.1195, allocations: 12.5 kB / 383.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1195, allocations: 0 / 383.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Templates: time 0.003141/0.1226, allocations: 0.5394 MB / 384.1 MB, free: 9.922 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.354437782079913]