Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001989/0.001989, allocations: 115.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002844/0.002844, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.89/2.89, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002719/0.002719, allocations: 55.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7921/0.7948, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.005264/0.8002, allocations: 1.585 MB / 411.5 MB, free: 12 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.802, allocations: 0.5297 MB / 412 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.8022, allocations: 4 kB / 412 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.051e-05/0.8023, allocations: 7.875 kB / 412.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.8026, allocations: 7.938 kB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.8032, allocations: 51.81 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.8034, allocations: 43.8 kB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.8036, allocations: 23.97 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.8039, allocations: 31.92 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.804, allocations: 19.86 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.804, allocations: 4 kB / 412.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.803e-05/0.8041, allocations: 4 kB / 412.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.674e-05/0.8042, allocations: 15.92 kB / 412.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.528e-05/0.8043, allocations: 31.8 kB / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.8046, allocations: 51.81 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.8046, allocations: 3.938 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.188e-06/0.8046, allocations: 0 / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.8047, allocations: 0 / 412.3 MB, free: 15.18 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001064/0.8058, allocations: 380.3 kB / 412.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.211e-05/0.8058, allocations: 12.03 kB / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003119/0.8062, allocations: 16.83 kB / 412.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006935/0.8069, allocations: 192.1 kB / 412.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.8069, allocations: 8.375 kB / 412.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.8069, allocations: 384 / 412.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/0.8075, allocations: 125.3 kB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.8075, allocations: 0 / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.8076, allocations: 0 / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.8076, allocations: 3.984 kB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.8078, allocations: 19.98 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006438/0.8084, allocations: 265.8 kB / 413.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.8088, allocations: 138.2 kB / 413.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.809, allocations: 37.75 kB / 413.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.809, allocations: 4 kB / 413.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/0.8091, allocations: 38.5 kB / 413.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.164e-06/0.8091, allocations: 3.938 kB / 413.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005049/0.8096, allocations: 77.58 kB / 413.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.8098, allocations: 89.03 kB / 413.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.81, allocations: 140.7 kB / 413.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.8101, allocations: 25.7 kB / 413.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.866e-05/0.8102, allocations: 88.05 kB / 414 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.8102, allocations: 11.98 kB / 414 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.8103, allocations: 13.72 kB / 414 MB, free: 13.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002241/0.8106, allocations: 314.8 kB / 414.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/0.8107, allocations: 15.92 kB / 414.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.8108, allocations: 39.42 kB / 414.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.811, allocations: 47.3 kB / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.811, allocations: 0 / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003614/0.8114, allocations: 73.53 kB / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.8114, allocations: 10.8 kB / 414.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.8115, allocations: 4 kB / 414.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.8115, allocations: 0 / 414.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.8116, allocations: 11.94 kB / 414.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.8117, allocations: 0 / 414.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.124e-05/0.8117, allocations: 7.938 kB / 414.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.8118, allocations: 3.984 kB / 414.5 MB, free: 12.71 MB / 334.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 0.0001634/0.812, allocations: 129.8 kB / 414.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.8121, allocations: 49.59 kB / 414.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.8122, allocations: 8.25 kB / 414.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.8122, allocations: 4 kB / 414.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.8122, allocations: 4 kB / 414.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.8123, allocations: 3.938 kB / 414.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.8126, allocations: 169.6 kB / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/0.8126, allocations: 7.984 kB / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.518e-05/0.8127, allocations: 4 kB / 414.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.8127, allocations: 8 kB / 414.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.8128, allocations: 0 / 414.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.8128, allocations: 0 / 414.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.8128, allocations: 0 / 414.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.8131, allocations: 172.2 kB / 415.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.8132, allocations: 89 kB / 415.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.8133, allocations: 4 kB / 415.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.8134, allocations: 11.98 kB / 415.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.724e-05/0.8135, allocations: 7.938 kB / 415.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.8136, allocations: 0 / 415.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.8137, allocations: 109.5 kB / 415.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8138, allocations: 0 / 415.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004415/0.8142, allocations: 11.94 kB / 415.3 MB, free: 11.82 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: 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 0.0001727/0.8144, allocations: 91.25 kB / 415.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002849/0.8147, allocations: 40.3 kB / 415.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.8147, allocations: 3.938 kB / 415.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.946e-05/0.8148, allocations: 11.98 kB / 415.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00062/0.8155, allocations: 24.09 kB / 415.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006672/0.8161, allocations: 205.2 kB / 415.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.8167, allocations: 0.6966 MB / 416.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.8168, allocations: 7.438 kB / 416.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of SimCode: time 7.02e-07/0.8168, allocations: 0 / 416.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of Templates: time 0.003966/0.8207, allocations: 0.7719 MB / 417.1 MB, free: 9.906 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches