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.001089/0.001089, allocations: 108.4 kB / 17.74 MB, free: 5.34 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.00137/0.00137, allocations: 187 kB / 18.67 MB, free: 4.418 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.459/1.459, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 51.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3051, allocations: 49.42 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003034/0.3082, allocations: 1.566 MB / 403 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000933/0.3091, allocations: 470.7 kB / 403.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.895e-05/0.3092, allocations: 0 / 403.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.997e-05/0.3093, allocations: 3.938 kB / 403.4 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.3095, allocations: 19.92 kB / 403.5 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.3098, allocations: 42.45 kB / 403.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.3099, allocations: 35.86 kB / 403.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.31, allocations: 8 kB / 403.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.297e-05/0.3101, allocations: 27.84 kB / 403.6 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.238e-05/0.3102, allocations: 15.92 kB / 403.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.3102, allocations: 4 kB / 403.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.385e-05/0.3102, allocations: 4 kB / 403.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.3103, allocations: 15.94 kB / 403.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.3103, allocations: 23.8 kB / 403.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.3104, allocations: 47.81 kB / 403.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3104, allocations: 0 / 403.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3104, allocations: 0 / 403.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.3105, allocations: 3.938 kB / 403.7 MB, free: 6.594 MB / 318.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.0005797/0.311, allocations: 364.3 kB / 404 MB, free: 6.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3111, allocations: 8.031 kB / 404 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.3111, allocations: 8.844 kB / 404 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.3115, allocations: 200.1 kB / 404.2 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.3115, allocations: 384 / 404.2 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.3115, allocations: 8.312 kB / 404.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.3117, allocations: 89.42 kB / 404.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3118, allocations: 0 / 404.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.3118, allocations: 4 kB / 404.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3118, allocations: 0 / 404.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.448e-05/0.3119, allocations: 23.92 kB / 404.4 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.3122, allocations: 261.8 kB / 404.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.121e-05/0.3123, allocations: 49.14 kB / 404.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.3124, allocations: 25.72 kB / 404.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.3124, allocations: 0 / 404.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.3124, allocations: 30.56 kB / 404.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 2.795e-06/0.3124, allocations: 3.984 kB / 404.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002574/0.3127, allocations: 73.73 kB / 404.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.3128, allocations: 77.11 kB / 404.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.3129, allocations: 141.8 kB / 405 MB, free: 5.035 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.3129, allocations: 25.7 kB / 405 MB, free: 5.004 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.313, allocations: 88.14 kB / 405.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.313, allocations: 7.984 kB / 405.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.313, allocations: 17.62 kB / 405.2 MB, free: 4.883 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3132, allocations: 326.8 kB / 405.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.929e-05/0.3132, allocations: 4 kB / 405.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-05/0.3133, allocations: 21.7 kB / 405.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.507e-05/0.3133, allocations: 29.7 kB / 405.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3134, allocations: 0 / 405.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001139/0.3135, allocations: 57.69 kB / 405.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3135, allocations: 4 kB / 405.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3135, allocations: 0 / 405.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3135, allocations: 0 / 405.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.676e-05/0.3136, allocations: 11.98 kB / 405.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3136, allocations: 0 / 405.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.208e-05/0.3137, allocations: 0 / 405.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.3137, allocations: 4 kB / 405.6 MB, free: 4.406 MB / 318.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.59e-05/0.3138, allocations: 125.8 kB / 405.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.3138, allocations: 37.55 kB / 405.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.3139, allocations: 11.88 kB / 405.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3139, allocations: 0 / 405.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3139, allocations: 7.938 kB / 405.8 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.3139, allocations: 0 / 405.8 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.3141, allocations: 169.6 kB / 405.9 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3141, allocations: 0 / 405.9 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.304e-05/0.3141, allocations: 7.984 kB / 406 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.3141, allocations: 4 kB / 406 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3142, allocations: 4.031 kB / 406 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.3142, allocations: 0 / 406 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3142, allocations: 3.938 kB / 406 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.3144, allocations: 168.2 kB / 406.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.3144, allocations: 89 kB / 406.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.3145, allocations: 32 / 406.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.361e-05/0.3145, allocations: 8 kB / 406.2 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.3146, allocations: 0 / 406.2 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.3146, allocations: 4 kB / 406.2 MB, free: 3.672 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.066e-05/0.3147, allocations: 110.1 kB / 406.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3147, allocations: 0 / 406.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.3149, allocations: 8 kB / 406.3 MB, free: 3.559 MB / 318.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.0001113/0.315, allocations: 107.9 kB / 406.4 MB, free: 3.445 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.3152, allocations: 27.92 kB / 406.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3152, allocations: 0 / 406.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.729e-05/0.3152, allocations: 7.984 kB / 406.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.3156, allocations: 19.91 kB / 406.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.316, allocations: 181.3 kB / 406.7 MB, free: 3.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.3162, allocations: 0.7003 MB / 407.4 MB, free: 2.453 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.3163, allocations: 7.438 kB / 407.4 MB, free: 2.445 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3163, allocations: 0 / 407.4 MB, free: 2.445 MB / 318.1 MB Notification: Performance of Templates: time 0.002127/0.3184, allocations: 0.6794 MB / 408.1 MB, free: 1.762 MB / 318.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