Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001325/0.001325, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 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.001356/0.001356, allocations: 156.3 kB / 24.48 MB, free: 3.461 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.401/1.401, allocations: 173.4 MB / 201.1 MB, free: 12.72 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.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 46.39 kB / 319.4 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09473/0.09632, allocations: 52.16 MB / 371.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002941/0.09926, allocations: 1.509 MB / 373.1 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003938/0.09965, allocations: 131.6 kB / 373.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.09972, allocations: 0 / 373.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.79e-05/0.09977, allocations: 11.94 kB / 373.2 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.09989, allocations: 3.938 kB / 373.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.1001, allocations: 43.77 kB / 373.3 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.788e-05/0.1002, allocations: 23.92 kB / 373.3 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1003, allocations: 15.92 kB / 373.3 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.151e-05/0.1003, allocations: 7.938 kB / 373.3 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.443e-05/0.1004, allocations: 15.92 kB / 373.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.1004, allocations: 0 / 373.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-06/0.1004, allocations: 4 kB / 373.3 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.1004, allocations: 7.938 kB / 373.3 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.1005, allocations: 23.86 kB / 373.4 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.1006, allocations: 43.77 kB / 373.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1006, allocations: 0 / 373.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1006, allocations: 0 / 373.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1006, allocations: 0 / 373.4 MB, free: 5.527 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004256/0.101, allocations: 282.1 kB / 373.7 MB, free: 5.219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.101, allocations: 8.922 kB / 373.7 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.1011, allocations: 8.891 kB / 373.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.1013, allocations: 130.4 kB / 373.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.1013, allocations: 384 / 373.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.1013, allocations: 8.375 kB / 373.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.1015, allocations: 89.61 kB / 373.9 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1016, allocations: 192 / 373.9 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.1016, allocations: 3.938 kB / 373.9 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1016, allocations: 0 / 373.9 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.579e-05/0.1016, allocations: 23.86 kB / 373.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.1019, allocations: 201.5 kB / 374.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.121e-05/0.102, allocations: 45.16 kB / 374.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.634e-05/0.102, allocations: 13.78 kB / 374.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.102, allocations: 3.938 kB / 374.2 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.1021, allocations: 42.55 kB / 374.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1021, allocations: 0 / 374.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001983/0.1023, allocations: 57.58 kB / 374.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.1023, allocations: 85.05 kB / 374.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1025, allocations: 133.8 kB / 374.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1025, allocations: 25.95 kB / 374.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.1025, allocations: 88.14 kB / 374.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.783e-06/0.1025, allocations: 0 / 374.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.1026, allocations: 21.67 kB / 374.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1027, allocations: 318.8 kB / 375 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.464e-05/0.1028, allocations: 0 / 375 MB, free: 3.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-05/0.1028, allocations: 25.66 kB / 375 MB, free: 3.738 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.201e-05/0.1028, allocations: 21.7 kB / 375 MB, free: 3.711 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1028, allocations: 0 / 375 MB, free: 3.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.421e-05/0.1029, allocations: 57.62 kB / 375.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.103, allocations: 4 kB / 375.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.103, allocations: 0 / 375.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.103, allocations: 0 / 375.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.299e-05/0.103, allocations: 4 kB / 375.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.103, allocations: 0 / 375.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.301e-05/0.103, allocations: 0 / 375.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.103, allocations: 4 kB / 375.1 MB, free: 3.637 MB / 334.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 9.81e-05/0.1031, allocations: 121.8 kB / 375.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/0.1032, allocations: 45.59 kB / 375.2 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.1032, allocations: 11.47 kB / 375.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1032, allocations: 0 / 375.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1032, allocations: 4 kB / 375.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1032, allocations: 3.984 kB / 375.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.1034, allocations: 109.3 kB / 375.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1034, allocations: 0 / 375.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-06/0.1034, allocations: 0 / 375.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1034, allocations: 7.875 kB / 375.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.1034, allocations: 4 kB / 375.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1034, allocations: 4.031 kB / 375.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1034, allocations: 0 / 375.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.1035, allocations: 152.4 kB / 375.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.368e-05/0.1036, allocations: 15.91 kB / 375.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.1036, allocations: 0 / 375.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.627e-05/0.1036, allocations: 11.94 kB / 375.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.1037, allocations: 0 / 375.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1037, allocations: 0 / 375.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.44e-05/0.1037, allocations: 106.9 kB / 375.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1037, allocations: 0 / 375.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000238/0.104, allocations: 12.03 kB / 375.7 MB, free: 2.973 MB / 334.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.0001004/0.1041, allocations: 95.25 kB / 375.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.1042, allocations: 11.94 kB / 375.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1042, allocations: 0 / 375.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.354e-05/0.1042, allocations: 15.92 kB / 375.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.1045, allocations: 16.02 kB / 375.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.1048, allocations: 146.5 kB / 375.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.852e-05/0.1049, allocations: 71.34 kB / 376 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.893e-05/0.1049, allocations: 3.984 kB / 376 MB, free: 2.562 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.1049, allocations: 8.5 kB / 376 MB, free: 2.551 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1049, allocations: 0 / 376 MB, free: 2.551 MB / 334.1 MB Notification: Performance of Templates: time 0.002702/0.1076, allocations: 476.2 kB / 376.5 MB, free: 2.094 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.12410487793386]