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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 113.6 kB / 17.69 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 191 kB / 18.63 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001035, allocations: 49.39 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1092, allocations: 49.45 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.004204/0.1135, allocations: 1.469 MB / 353 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004277/0.114, allocations: 141 kB / 353.1 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.1141, allocations: 7.938 kB / 353.1 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.477e-05/0.1142, allocations: 4 kB / 353.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.1144, allocations: 7.922 kB / 353.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.1146, allocations: 35.84 kB / 353.2 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.1148, allocations: 31.86 kB / 353.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.1149, allocations: 8 kB / 353.2 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.1149, allocations: 7.984 kB / 353.2 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.086e-05/0.115, allocations: 15.86 kB / 353.2 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.115, allocations: 4 kB / 353.2 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.115, allocations: 0 / 353.2 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.102e-05/0.1151, allocations: 15.98 kB / 353.3 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.1152, allocations: 19.81 kB / 353.3 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.1153, allocations: 47.81 kB / 353.3 MB, free: 1.879 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1153, allocations: 0 / 353.3 MB, free: 1.879 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.1153, allocations: 0 / 353.3 MB, free: 1.879 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1153, allocations: 0 / 353.3 MB, free: 1.879 MB / 286.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.0005513/0.1159, allocations: 359.2 kB / 353.7 MB, free: 1.477 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1159, allocations: 8.031 kB / 353.7 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.116, allocations: 8.844 kB / 353.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.1162, allocations: 189.8 kB / 353.9 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1163, allocations: 8.312 kB / 353.9 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.1163, allocations: 384 / 353.9 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.1165, allocations: 89.61 kB / 354 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1165, allocations: 192 / 354 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1165, allocations: 7.938 kB / 354 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.1166, allocations: 7.938 kB / 354 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.316e-05/0.1166, allocations: 11.98 kB / 354 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.1169, allocations: 249.8 kB / 354.2 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.631e-05/0.117, allocations: 57.08 kB / 354.3 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/0.1171, allocations: 13.78 kB / 354.3 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.1171, allocations: 0 / 354.3 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/0.1171, allocations: 34.5 kB / 354.3 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.1171, allocations: 0 / 354.3 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002017/0.1174, allocations: 61.53 kB / 354.4 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.1174, allocations: 85.36 kB / 354.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.1175, allocations: 127.2 kB / 354.6 MB, free: 372 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1176, allocations: 25.7 kB / 354.6 MB, free: 340 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.1176, allocations: 92.06 kB / 354.7 MB, free: 244 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.605e-06/0.1176, allocations: 0 / 354.7 MB, free: 244 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.1177, allocations: 21.62 kB / 354.7 MB, free: 216 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1178, allocations: 314.8 kB / 355.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.881e-05/0.1178, allocations: 7.984 kB / 355.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.833e-05/0.1179, allocations: 17.72 kB / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.585e-05/0.1179, allocations: 17.72 kB / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1179, allocations: 0 / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.537e-05/0.118, allocations: 53.56 kB / 355.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.118, allocations: 12.12 kB / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.118, allocations: 0 / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1181, allocations: 0 / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.732e-05/0.1181, allocations: 3.984 kB / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1181, allocations: 8 kB / 355.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.1181, allocations: 0 / 355.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1181, allocations: 0 / 355.2 MB, free: 15.76 MB / 302.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 8.152e-05/0.1182, allocations: 121.7 kB / 355.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.1183, allocations: 53.52 kB / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.1183, allocations: 11.56 kB / 355.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.1183, allocations: 0 / 355.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1183, allocations: 0 / 355.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1183, allocations: 0 / 355.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.1185, allocations: 169.6 kB / 355.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1185, allocations: 0 / 355.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-06/0.1185, allocations: 4 kB / 355.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1185, allocations: 0 / 355.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.1185, allocations: 0 / 355.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1185, allocations: 3.938 kB / 355.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1186, allocations: 0 / 355.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.1187, allocations: 160.2 kB / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.097e-05/0.1188, allocations: 93.03 kB / 355.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.1188, allocations: 0 / 355.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.516e-05/0.1189, allocations: 4 kB / 355.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.1189, allocations: 0 / 355.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1189, allocations: 0 / 355.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.31e-05/0.119, allocations: 115.2 kB / 355.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.119, allocations: 0 / 355.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002159/0.1193, allocations: 4 kB / 355.9 MB, free: 14.93 MB / 302.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.0001193/0.1194, allocations: 98.31 kB / 356 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.1195, allocations: 19.92 kB / 356 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1195, allocations: 4 kB / 356 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.623e-05/0.1195, allocations: 8.125 kB / 356 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.1199, allocations: 17.83 kB / 356 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.1203, allocations: 138.2 kB / 356.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.1207, allocations: 0.6885 MB / 356.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.835e-05/0.1207, allocations: 0 / 356.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.1208, allocations: 15.44 kB / 356.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1208, allocations: 0 / 356.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of Templates: time 0.002599/0.1234, allocations: 446.9 kB / 357.3 MB, free: 13.45 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (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 gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) 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) Reference file matches