Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001103/0.001103, allocations: 96.17 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, allocations: 202.6 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.7 MB / 247.5 MB, free: 11.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003276, allocations: 4 kB / 308.4 MB, free: 0.7773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1105, allocations: 51.53 MB / 359.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.001879/0.1124, allocations: 1.282 MB / 361.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009829/0.1134, allocations: 0.5182 MB / 361.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.434e-05/0.1135, allocations: 4 kB / 361.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.1135, allocations: 3.938 kB / 361.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.1137, allocations: 7.938 kB / 361.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.114, allocations: 43.89 kB / 361.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.944e-05/0.1141, allocations: 35.86 kB / 361.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.604e-05/0.1142, allocations: 15.97 kB / 361.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.1143, allocations: 27.86 kB / 361.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.41e-05/0.1144, allocations: 15.86 kB / 361.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1144, allocations: 4 kB / 361.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.646e-05/0.1144, allocations: 4 kB / 361.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.1145, allocations: 11.98 kB / 361.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.1146, allocations: 49.5 kB / 361.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.597e-05/0.1147, allocations: 31.95 kB / 362 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1147, allocations: 0 / 362 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1147, allocations: 0 / 362 MB, free: 11.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1147, allocations: 0 / 362 MB, free: 11.18 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004518/0.1152, allocations: 371.5 kB / 362.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1152, allocations: 12.02 kB / 362.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.1154, allocations: 16.84 kB / 362.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.1156, allocations: 200.1 kB / 362.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1156, allocations: 8.312 kB / 362.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.1156, allocations: 384 / 362.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.1159, allocations: 97.42 kB / 362.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1159, allocations: 0 / 362.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1159, allocations: 0 / 362.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1159, allocations: 3.938 kB / 362.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.14e-05/0.116, allocations: 23.98 kB / 362.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.1164, allocations: 261.8 kB / 362.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.877e-05/0.1165, allocations: 49.14 kB / 363 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.554e-05/0.1166, allocations: 21.78 kB / 363 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1166, allocations: 4 kB / 363 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.1166, allocations: 34.56 kB / 363 MB, free: 9.914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.1166, allocations: 0 / 363 MB, free: 9.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002531/0.1169, allocations: 73.52 kB / 363.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.117, allocations: 81.36 kB / 363.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1171, allocations: 148.5 kB / 363.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.1171, allocations: 25.7 kB / 363.4 MB, free: 9.551 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.1172, allocations: 88.14 kB / 363.5 MB, free: 9.461 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.1172, allocations: 3.938 kB / 363.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.1172, allocations: 9.719 kB / 363.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1174, allocations: 318.8 kB / 363.8 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.13e-05/0.1174, allocations: 8 kB / 363.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.46e-05/0.1175, allocations: 25.7 kB / 363.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.12e-05/0.1176, allocations: 37.64 kB / 363.8 MB, free: 9.039 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1176, allocations: 0 / 363.8 MB, free: 9.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001347/0.1177, allocations: 65.59 kB / 363.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1177, allocations: 7.938 kB / 363.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1177, allocations: 0 / 363.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1178, allocations: 4 kB / 363.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.348e-05/0.1178, allocations: 7.984 kB / 363.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1179, allocations: 0 / 363.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.02e-05/0.1179, allocations: 7.938 kB / 363.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1179, allocations: 4.062 kB / 363.9 MB, free: 8.938 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: 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 0.0001155/0.118, allocations: 125.7 kB / 364.1 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/0.1181, allocations: 45.55 kB / 364.1 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.1181, allocations: 11.83 kB / 364.1 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1182, allocations: 0 / 364.1 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1182, allocations: 4 kB / 364.1 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1182, allocations: 3.984 kB / 364.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.1184, allocations: 169.6 kB / 364.3 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1184, allocations: 8.016 kB / 364.3 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.1184, allocations: 4 kB / 364.3 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1185, allocations: 4 kB / 364.3 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1185, allocations: 0 / 364.3 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1185, allocations: 0 / 364.3 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1185, allocations: 0 / 364.3 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.1187, allocations: 176.2 kB / 364.5 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.1187, allocations: 85.09 kB / 364.6 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.1187, allocations: 0 / 364.6 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.1188, allocations: 4 kB / 364.6 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.1189, allocations: 4 kB / 364.6 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.1189, allocations: 0 / 364.6 MB, free: 8.199 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.71e-05/0.119, allocations: 113.5 kB / 364.7 MB, free: 8.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.119, allocations: 0 / 364.7 MB, free: 8.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.1192, allocations: 8.031 kB / 364.7 MB, free: 8.082 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.0001029/0.1193, allocations: 95.25 kB / 364.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.1194, allocations: 27.92 kB / 364.8 MB, free: 7.953 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1195, allocations: 0 / 364.8 MB, free: 7.953 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.433e-05/0.1195, allocations: 16.11 kB / 364.8 MB, free: 7.938 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.1199, allocations: 27.88 kB / 364.9 MB, free: 7.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.1202, allocations: 211 kB / 365.1 MB, free: 7.664 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.1205, allocations: 0.6928 MB / 365.8 MB, free: 6.945 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.1206, allocations: 11.38 kB / 365.8 MB, free: 6.934 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1206, allocations: 0 / 365.8 MB, free: 6.934 MB / 302.1 MB Notification: Performance of Templates: time 0.002049/0.1226, allocations: 0.6921 MB / 366.5 MB, free: 6.246 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches