Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 115.3 kB / 17.29 MB, free: 6.324 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.002003/0.002003, allocations: 197.3 kB / 18.21 MB, free: 5.406 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.415/1.415, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 51.53 kB / 300.8 MB, free: 6.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0963/0.09757, allocations: 49.44 MB / 350.2 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003238/0.1009, allocations: 1.608 MB / 351.8 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008558/0.1017, allocations: 470.9 kB / 352.3 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.138e-05/0.1018, allocations: 0 / 352.3 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.314e-05/0.1019, allocations: 3.938 kB / 352.3 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.1021, allocations: 11.92 kB / 352.3 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.1024, allocations: 31.91 kB / 352.4 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.201e-05/0.1025, allocations: 39.86 kB / 352.4 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.694e-05/0.1026, allocations: 12 kB / 352.4 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.166e-05/0.1027, allocations: 27.84 kB / 352.4 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.679e-05/0.1027, allocations: 19.92 kB / 352.5 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1027, allocations: 0 / 352.5 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.1028, allocations: 4 kB / 352.5 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.1028, allocations: 19.86 kB / 352.5 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.1029, allocations: 19.81 kB / 352.5 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.103, allocations: 39.94 kB / 352.5 MB, free: 2.418 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.103, allocations: 0 / 352.5 MB, free: 2.418 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.103, allocations: 0 / 352.5 MB, free: 2.418 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.103, allocations: 0 / 352.5 MB, free: 2.418 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.0004643/0.1035, allocations: 367.5 kB / 352.9 MB, free: 2.012 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1035, allocations: 8.031 kB / 352.9 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.1035, allocations: 12.84 kB / 352.9 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.1038, allocations: 188.1 kB / 353.1 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1038, allocations: 8.359 kB / 353.1 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.1038, allocations: 4.359 kB / 353.1 MB, free: 1.758 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.1041, allocations: 97.36 kB / 353.2 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1041, allocations: 0 / 353.2 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1041, allocations: 4 kB / 353.2 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1041, allocations: 0 / 353.2 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.028e-05/0.1042, allocations: 15.92 kB / 353.2 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.1045, allocations: 261.8 kB / 353.5 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.847e-05/0.1047, allocations: 49.16 kB / 353.5 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.011e-05/0.1047, allocations: 17.77 kB / 353.5 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1047, allocations: 4 kB / 353.5 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.1048, allocations: 34.56 kB / 353.6 MB, free: 1.18 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 2.414e-06/0.1048, allocations: 0 / 353.6 MB, free: 1.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002446/0.105, allocations: 73.45 kB / 353.7 MB, free: 1.102 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.1051, allocations: 81.11 kB / 353.7 MB, free: 1.004 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.1052, allocations: 133.8 kB / 353.9 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1052, allocations: 25.7 kB / 353.9 MB, free: 0.832 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.1053, allocations: 88.12 kB / 354 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.1053, allocations: 11.89 kB / 354 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.1054, allocations: 17.97 kB / 354 MB, free: 0.707 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1055, allocations: 318.8 kB / 354.3 MB, free: 396 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.101e-05/0.1055, allocations: 15.92 kB / 354.3 MB, free: 380 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.982e-05/0.1056, allocations: 13.72 kB / 354.3 MB, free: 360 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.928e-05/0.1057, allocations: 33.77 kB / 354.4 MB, free: 320 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1057, allocations: 0 / 354.4 MB, free: 320 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001216/0.1058, allocations: 61.52 kB / 354.4 MB, free: 252 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1058, allocations: 8 kB / 354.4 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1059, allocations: 3.984 kB / 354.4 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1059, allocations: 0 / 354.4 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.433e-05/0.106, allocations: 4 kB / 354.5 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.106, allocations: 0 / 354.5 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/0.106, allocations: 7.984 kB / 354.5 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.106, allocations: 8 kB / 354.5 MB, free: 220 kB / 286.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: 0 () * 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.628e-05/0.1061, allocations: 121.7 kB / 354.6 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.617e-05/0.1062, allocations: 37.64 kB / 354.6 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.1062, allocations: 15.86 kB / 354.6 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1062, allocations: 0 / 354.6 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1063, allocations: 0 / 354.6 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1063, allocations: 0 / 354.6 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.1064, allocations: 173.6 kB / 354.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1065, allocations: 32 / 354.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.1065, allocations: 8 kB / 354.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1065, allocations: 0 / 354.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1065, allocations: 7.984 kB / 354.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1065, allocations: 4 kB / 354.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1066, allocations: 0 / 354.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.1067, allocations: 160.2 kB / 355 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.1068, allocations: 93 kB / 355.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.1068, allocations: 4 kB / 355.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.674e-05/0.1069, allocations: 7.922 kB / 355.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.1069, allocations: 0 / 355.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.1069, allocations: 4 kB / 355.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.497e-05/0.107, allocations: 106.4 kB / 355.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.107, allocations: 0 / 355.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002197/0.1072, allocations: 4 kB / 355.2 MB, free: 15.38 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: 0 () * 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.0001032/0.1074, allocations: 107.2 kB / 355.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.1075, allocations: 27.92 kB / 355.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1075, allocations: 0 / 355.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.75e-05/0.1075, allocations: 8 kB / 355.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.1079, allocations: 17.33 kB / 355.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00038/0.1083, allocations: 213.3 kB / 355.6 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.1086, allocations: 0.6924 MB / 356.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.1086, allocations: 7.438 kB / 356.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1086, allocations: 0 / 356.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of Templates: time 0.002225/0.1109, allocations: 0.6788 MB / 356.9 MB, free: 13.57 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches