Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 108.3 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.001333/0.001333, allocations: 187 kB / 18.67 MB, free: 4.414 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.542/1.542, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001236, allocations: 47.94 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3778, allocations: 49.43 MB / 401.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003036/0.3808, allocations: 1.688 MB / 403.1 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004508/0.3813, allocations: 159.4 kB / 403.3 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.098e-05/0.3814, allocations: 4 kB / 403.3 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.506e-05/0.3815, allocations: 15.8 kB / 403.3 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.3816, allocations: 3.938 kB / 403.3 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.3819, allocations: 49.7 kB / 403.3 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.382, allocations: 51.91 kB / 403.4 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.3822, allocations: 31.98 kB / 403.4 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.243e-05/0.3822, allocations: 27.84 kB / 403.4 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.3823, allocations: 23.86 kB / 403.5 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.3823, allocations: 4 kB / 403.5 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.3823, allocations: 4 kB / 403.5 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.3824, allocations: 19.92 kB / 403.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.737e-05/0.3825, allocations: 35.75 kB / 403.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.3826, allocations: 71.66 kB / 403.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3826, allocations: 0 / 403.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3826, allocations: 3.938 kB / 403.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.289e-06/0.3826, allocations: 0 / 403.6 MB, free: 6.82 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005247/0.3831, allocations: 391.5 kB / 404 MB, free: 6.391 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3832, allocations: 8.031 kB / 404 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.3832, allocations: 12.84 kB / 404 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.3835, allocations: 208 kB / 404.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.3835, allocations: 4.375 kB / 404.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.3835, allocations: 12.3 kB / 404.2 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/0.3839, allocations: 166.4 kB / 404.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.3839, allocations: 192 / 404.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.3839, allocations: 7.938 kB / 404.4 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.3839, allocations: 0 / 404.4 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.384, allocations: 35.92 kB / 404.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.3845, allocations: 369.8 kB / 404.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.3847, allocations: 119.9 kB / 404.9 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.904e-05/0.3848, allocations: 50.56 kB / 404.9 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.3849, allocations: 8 kB / 405 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.3849, allocations: 42.48 kB / 405 MB, free: 5.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.3849, allocations: 0 / 405 MB, free: 5.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.000339/0.3852, allocations: 117.7 kB / 405.1 MB, free: 5.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.057e-05/0.3853, allocations: 114.8 kB / 405.2 MB, free: 4.949 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.3855, allocations: 138.1 kB / 405.4 MB, free: 4.805 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.3855, allocations: 25.7 kB / 405.4 MB, free: 4.773 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.3855, allocations: 88.14 kB / 405.5 MB, free: 4.684 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.3856, allocations: 15.83 kB / 405.5 MB, free: 4.668 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.3856, allocations: 25.62 kB / 405.5 MB, free: 4.637 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3857, allocations: 322.8 kB / 405.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.463e-05/0.3858, allocations: 12 kB / 405.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.3859, allocations: 75.64 kB / 405.9 MB, free: 4.199 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.386, allocations: 99.53 kB / 406 MB, free: 4.074 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.386, allocations: 0 / 406 MB, free: 4.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001709/0.3862, allocations: 105.5 kB / 406.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3862, allocations: 6.656 kB / 406.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3862, allocations: 7.938 kB / 406.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3862, allocations: 0 / 406.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.773e-05/0.3863, allocations: 20.17 kB / 406.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.3863, allocations: 7.938 kB / 406.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.3864, allocations: 11.84 kB / 406.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.3864, allocations: 4.281 kB / 406.2 MB, free: 3.91 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001035/0.3865, allocations: 133.8 kB / 406.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.3866, allocations: 77.53 kB / 406.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.558e-05/0.3867, allocations: 8.719 kB / 406.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3867, allocations: 4 kB / 406.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3867, allocations: 0 / 406.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.3867, allocations: 0 / 406.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.387, allocations: 197.5 kB / 406.6 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.387, allocations: 0 / 406.6 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.387, allocations: 20 kB / 406.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3871, allocations: 3.984 kB / 406.6 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.3871, allocations: 4 kB / 406.6 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3871, allocations: 4 kB / 406.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3871, allocations: 400 / 406.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.3874, allocations: 316.1 kB / 406.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.3875, allocations: 93 kB / 407 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.3876, allocations: 11.92 kB / 407 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-05/0.3877, allocations: 4 kB / 407 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.3877, allocations: 4 kB / 407 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.3877, allocations: 0 / 407 MB, free: 2.938 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.248e-05/0.3878, allocations: 107.2 kB / 407.1 MB, free: 2.832 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3878, allocations: 0 / 407.1 MB, free: 2.832 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.3881, allocations: 16 kB / 407.2 MB, free: 2.816 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.000112/0.3882, allocations: 107.9 kB / 407.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.3884, allocations: 67.89 kB / 407.3 MB, free: 2.637 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3884, allocations: 0 / 407.3 MB, free: 2.637 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.408e-05/0.3884, allocations: 8.5 kB / 407.3 MB, free: 2.629 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.3889, allocations: 52.12 kB / 407.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/0.3893, allocations: 230 kB / 407.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.3896, allocations: 0.704 MB / 408.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.3896, allocations: 15.38 kB / 408.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3896, allocations: 0 / 408.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of Templates: time 0.00249/0.3921, allocations: 0.9144 MB / 409.2 MB, free: 0.6523 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches