Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001912/0.001912, allocations: 120 kB / 18.46 MB, free: 4.562 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.002419/0.002419, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.505/1.505, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 51.92 kB / 374.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1079, allocations: 53.33 MB / 427.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003281/0.1111, allocations: 1.494 MB / 429 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004608/0.1116, allocations: 139.5 kB / 429.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.825e-05/0.1117, allocations: 11.88 kB / 429.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.957e-05/0.1117, allocations: 3.984 kB / 429.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.1119, allocations: 3.938 kB / 429.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.1122, allocations: 39.84 kB / 429.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.1123, allocations: 23.98 kB / 429.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1124, allocations: 15.98 kB / 429.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.719e-05/0.1124, allocations: 11.88 kB / 429.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.073e-05/0.1125, allocations: 19.91 kB / 429.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.1125, allocations: 4 kB / 429.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-06/0.1125, allocations: 0 / 429.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.1126, allocations: 11.94 kB / 429.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.1126, allocations: 15.88 kB / 429.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.1127, allocations: 47.75 kB / 429.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1127, allocations: 0 / 429.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1127, allocations: 0 / 429.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1127, allocations: 4 kB / 429.3 MB, free: 2.441 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005003/0.1132, allocations: 355.2 kB / 429.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1133, allocations: 8.031 kB / 429.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.1133, allocations: 16.89 kB / 429.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.1136, allocations: 190.2 kB / 429.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1136, allocations: 4.375 kB / 429.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.1137, allocations: 4.375 kB / 429.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.1139, allocations: 85.62 kB / 430 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1139, allocations: 192 / 430 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.1139, allocations: 3.938 kB / 430 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.1139, allocations: 3.984 kB / 430 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.2e-05/0.114, allocations: 15.94 kB / 430 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.1144, allocations: 253.8 kB / 430.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.14e-05/0.1145, allocations: 49.08 kB / 430.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.662e-05/0.1145, allocations: 13.78 kB / 430.3 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.1146, allocations: 3.984 kB / 430.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.1146, allocations: 42.56 kB / 430.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1146, allocations: 0 / 430.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002711/0.1149, allocations: 57.58 kB / 430.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.1149, allocations: 81.09 kB / 430.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.1151, allocations: 129.8 kB / 430.6 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1151, allocations: 25.7 kB / 430.6 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.1152, allocations: 88.39 kB / 430.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/0.1152, allocations: 3.953 kB / 430.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.1153, allocations: 17.72 kB / 430.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1154, allocations: 322.7 kB / 431.1 MB, free: 464 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.479e-05/0.1155, allocations: 8 kB / 431.1 MB, free: 456 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.017e-05/0.1155, allocations: 13.72 kB / 431.1 MB, free: 436 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.687e-05/0.1156, allocations: 29.77 kB / 431.1 MB, free: 400 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1156, allocations: 0 / 431.1 MB, free: 400 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001027/0.1157, allocations: 49.56 kB / 431.2 MB, free: 344 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1157, allocations: 4 kB / 431.2 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/0.1157, allocations: 4 kB / 431.2 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1157, allocations: 0 / 431.2 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.856e-05/0.1157, allocations: 0 / 431.2 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1157, allocations: 0 / 431.2 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.84e-05/0.1158, allocations: 8.062 kB / 431.2 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.1158, allocations: 3.938 kB / 431.2 MB, free: 324 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.000111/0.1159, allocations: 121.8 kB / 431.3 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.1159, allocations: 45.59 kB / 431.3 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.116, allocations: 3.531 kB / 431.3 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.116, allocations: 0 / 431.3 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.116, allocations: 4 kB / 431.3 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.116, allocations: 0 / 431.3 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.1162, allocations: 169.6 kB / 431.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1162, allocations: 4.031 kB / 431.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.792e-06/0.1162, allocations: 0 / 431.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1162, allocations: 0 / 431.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1162, allocations: 8 kB / 431.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1162, allocations: 0 / 431.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1162, allocations: 0 / 431.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.1164, allocations: 160.2 kB / 431.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.637e-05/0.1165, allocations: 96.98 kB / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.1165, allocations: 0 / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.801e-05/0.1166, allocations: 0 / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.1166, allocations: 7.984 kB / 431.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.1166, allocations: 0 / 431.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.675e-05/0.1167, allocations: 100.7 kB / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1167, allocations: 4 kB / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.1169, allocations: 0 / 431.9 MB, free: 15.5 MB / 366.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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001229/0.117, allocations: 103.8 kB / 432 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.1172, allocations: 19.92 kB / 432 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1172, allocations: 0 / 432 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.938e-05/0.1172, allocations: 4 kB / 432 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.1175, allocations: 23.89 kB / 432 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.1179, allocations: 168.4 kB / 432.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.1183, allocations: 0.6846 MB / 432.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.1184, allocations: 11.44 kB / 432.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1184, allocations: 0 / 432.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of Templates: time 0.002609/0.121, allocations: 0.626 MB / 433.5 MB, free: 13.8 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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: 6.863320951000787]