Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001393, allocations: 109.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001387/0.001388, allocations: 208.1 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.437/1.437, allocations: 227.7 MB / 247.7 MB, free: 10.36 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 60.5 kB / 307.9 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09603/0.09802, allocations: 50.54 MB / 358.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002948/0.101, allocations: 1.585 MB / 360 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009504/0.102, allocations: 0.5376 MB / 360.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.207e-05/0.1021, allocations: 3.938 kB / 360.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.464e-05/0.1021, allocations: 7.922 kB / 360.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.1022, allocations: 7.938 kB / 360.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.1025, allocations: 51.81 kB / 360.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.923e-05/0.1026, allocations: 43.86 kB / 360.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.9e-05/0.1027, allocations: 15.98 kB / 360.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.1029, allocations: 31.91 kB / 360.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.588e-05/0.1029, allocations: 31.73 kB / 360.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.1029, allocations: 0 / 360.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.109e-05/0.103, allocations: 8 kB / 360.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.803e-05/0.103, allocations: 15.92 kB / 360.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.1031, allocations: 23.81 kB / 360.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.1032, allocations: 55.8 kB / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1032, allocations: 0 / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1032, allocations: 0 / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1033, allocations: 0 / 360.8 MB, free: 11.54 MB / 302.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.0004857/0.1037, allocations: 387.3 kB / 361.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1038, allocations: 12.02 kB / 361.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.1039, allocations: 20.84 kB / 361.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.1042, allocations: 184.2 kB / 361.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1042, allocations: 12.36 kB / 361.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.1042, allocations: 384 / 361.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.1045, allocations: 129.2 kB / 361.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1045, allocations: 0 / 361.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.1045, allocations: 0 / 361.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1045, allocations: 0 / 361.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.307e-05/0.1046, allocations: 23.97 kB / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.1049, allocations: 273.6 kB / 361.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.1052, allocations: 134.3 kB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.33e-05/0.1052, allocations: 29.77 kB / 362 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1053, allocations: 3.938 kB / 362 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.1053, allocations: 38.56 kB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1053, allocations: 0 / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002512/0.1056, allocations: 81.52 kB / 362.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.1056, allocations: 81.09 kB / 362.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.1058, allocations: 141.4 kB / 362.4 MB, free: 9.781 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1058, allocations: 25.83 kB / 362.4 MB, free: 9.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.1059, allocations: 88.14 kB / 362.5 MB, free: 9.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.1059, allocations: 11.98 kB / 362.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.1059, allocations: 17.62 kB / 362.5 MB, free: 9.625 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1061, allocations: 314.8 kB / 362.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.489e-05/0.1061, allocations: 7.984 kB / 362.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-05/0.1062, allocations: 35.44 kB / 362.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.991e-05/0.1063, allocations: 63.17 kB / 362.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1063, allocations: 0 / 362.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000148/0.1065, allocations: 73.62 kB / 363 MB, free: 9.102 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1065, allocations: 4 kB / 363 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1065, allocations: 0 / 363 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1065, allocations: 7.984 kB / 363 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.534e-05/0.1066, allocations: 8 kB / 363 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1066, allocations: 4 kB / 363 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.287e-05/0.1066, allocations: 7.906 kB / 363 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.1067, allocations: 0 / 363 MB, free: 9.07 MB / 302.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: 0 () * 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 8.942e-05/0.1067, allocations: 121.8 kB / 363.1 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.38e-05/0.1068, allocations: 53.69 kB / 363.2 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.1069, allocations: 12.25 kB / 363.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.1069, allocations: 0 / 363.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1069, allocations: 4.328 kB / 363.2 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1069, allocations: 0 / 363.2 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.1071, allocations: 173.5 kB / 363.4 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1071, allocations: 0 / 363.4 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.656e-05/0.1072, allocations: 11.98 kB / 363.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1072, allocations: 3.984 kB / 363.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1072, allocations: 4 kB / 363.4 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1072, allocations: 4 kB / 363.4 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1072, allocations: 0 / 363.4 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.1074, allocations: 180.2 kB / 363.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.1075, allocations: 85.09 kB / 363.7 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.1075, allocations: 4 kB / 363.7 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.1076, allocations: 3.984 kB / 363.7 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.1076, allocations: 8 kB / 363.7 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.1076, allocations: 4 kB / 363.7 MB, free: 8.301 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.188e-05/0.1077, allocations: 107.2 kB / 363.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1077, allocations: 0 / 363.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.108, allocations: 4 kB / 363.8 MB, free: 8.191 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 (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 9.77e-05/0.1081, allocations: 95.25 kB / 363.9 MB, free: 8.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.1082, allocations: 32.11 kB / 363.9 MB, free: 8.059 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1082, allocations: 8.062 kB / 363.9 MB, free: 8.051 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.208e-05/0.1083, allocations: 11.98 kB / 363.9 MB, free: 8.039 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.1086, allocations: 27.89 kB / 364 MB, free: 8.012 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.109, allocations: 209 kB / 364.2 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.1093, allocations: 0.6962 MB / 364.9 MB, free: 7.051 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.1094, allocations: 7.438 kB / 364.9 MB, free: 7.043 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1094, allocations: 0 / 364.9 MB, free: 7.043 MB / 302.1 MB Notification: Performance of Templates: time 0.002315/0.1117, allocations: 0.7547 MB / 365.6 MB, free: 6.289 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches