Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009657/0.000966, allocations: 178 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.3 MB / 213.8 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008333/0.0008333, allocations: 94.61 kB / 261.8 MB, free: 1.613 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06504/0.06504, allocations: 12.6 MB / 322.3 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.639e-05/1.641e-05, allocations: 4 kB / 378.9 MB, free: 6.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2236, allocations: 50.37 MB / 429.3 MB, free: 18.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09659/0.3202, allocations: 77.6 MB / 0.495 GB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.3205, allocations: 79.95 kB / 0.4951 GB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005331/0.3258, allocations: 1.981 MB / 0.497 GB, free: 2.578 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3259, allocations: 0 / 0.497 GB, free: 2.578 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.3259, allocations: 0 / 0.497 GB, free: 2.578 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003497/0.3262, allocations: 350.4 kB / 0.4974 GB, free: 2.191 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3263, allocations: 8.031 kB / 0.4974 GB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.3263, allocations: 15.84 kB / 0.4974 GB, free: 2.168 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.3265, allocations: 199.3 kB / 0.4976 GB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.3266, allocations: 4 kB / 0.4976 GB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.3266, allocations: 7.938 kB / 0.4976 GB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.718e-05/0.3267, allocations: 16 kB / 0.4976 GB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.3269, allocations: 101.8 kB / 0.4977 GB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3269, allocations: 0 / 0.4977 GB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.3269, allocations: 0 / 0.4977 GB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3269, allocations: 4 kB / 0.4977 GB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.3273, allocations: 259.2 kB / 0.498 GB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.379e-05/0.3274, allocations: 67.78 kB / 0.498 GB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.924e-05/0.3274, allocations: 26.64 kB / 0.4981 GB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.3275, allocations: 0 / 0.4981 GB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.3275, allocations: 34.5 kB / 0.4981 GB, free: 1.312 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.3275, allocations: 4 kB / 0.4981 GB, free: 1.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002129/0.3277, allocations: 61.62 kB / 0.4981 GB, free: 1.242 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.568e-05/0.3278, allocations: 106.8 kB / 0.4982 GB, free: 1.113 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.328, allocations: 127.7 kB / 0.4984 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.328, allocations: 29.7 kB / 0.4984 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.3281, allocations: 88.14 kB / 0.4985 GB, free: 0.8594 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.3281, allocations: 0 / 0.4985 GB, free: 0.8594 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.3281, allocations: 0 / 0.4985 GB, free: 0.8594 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3283, allocations: 332.1 kB / 0.4988 GB, free: 0.5273 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/0.3283, allocations: 0 / 0.4988 GB, free: 0.5273 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.261e-05/0.3284, allocations: 31.44 kB / 0.4988 GB, free: 496 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.328e-05/0.3284, allocations: 7.938 kB / 0.4988 GB, free: 488 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3284, allocations: 0 / 0.4988 GB, free: 488 kB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001021/0.3285, allocations: 61.53 kB / 0.4989 GB, free: 420 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3285, allocations: 4 kB / 0.4989 GB, free: 416 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3285, allocations: 4 kB / 0.4989 GB, free: 412 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3286, allocations: 0 / 0.4989 GB, free: 412 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.765e-05/0.3287, allocations: 15.92 kB / 0.4989 GB, free: 396 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3287, allocations: 0 / 0.4989 GB, free: 396 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.3287, allocations: 4 kB / 0.4989 GB, free: 392 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.3287, allocations: 4 kB / 0.4989 GB, free: 388 kB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.239e-05/0.3288, allocations: 109.1 kB / 0.499 GB, free: 272 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.552e-05/0.3289, allocations: 53.53 kB / 0.4991 GB, free: 212 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.469e-05/0.329, allocations: 11.97 kB / 0.4991 GB, free: 200 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.329, allocations: 0 / 0.4991 GB, free: 200 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.329, allocations: 4 kB / 0.4991 GB, free: 196 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.329, allocations: 0 / 0.4991 GB, free: 196 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.3292, allocations: 150.2 kB / 0.4992 GB, free: 8 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.742e-05/0.3292, allocations: 11.97 kB / 0.4993 GB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.863e-05/0.3293, allocations: 8.062 kB / 0.4993 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3293, allocations: 8 kB / 0.4993 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.3293, allocations: 0 / 0.4993 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3293, allocations: 4 kB / 0.4993 GB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3293, allocations: 0 / 0.4993 GB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.3295, allocations: 192.4 kB / 0.4995 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.08e-05/0.3296, allocations: 100.9 kB / 0.4996 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.3296, allocations: 0 / 0.4996 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.3297, allocations: 4 kB / 0.4996 GB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.3298, allocations: 0 / 0.4996 GB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.3298, allocations: 4 kB / 0.4996 GB, free: 15.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.305e-05/0.3299, allocations: 104 kB / 0.4997 GB, free: 15.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3299, allocations: 0 / 0.4997 GB, free: 15.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.3301, allocations: 11.94 kB / 0.4997 GB, free: 15.52 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001406/0.3302, allocations: 95.25 kB / 0.4998 GB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.3304, allocations: 20.08 kB / 0.4998 GB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.3304, allocations: 4 kB / 0.4998 GB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.791e-05/0.3304, allocations: 4 kB / 0.4998 GB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.3307, allocations: 31.31 kB / 0.4998 GB, free: 15.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002487/0.3309, allocations: 110.2 kB / 0.4999 GB, free: 15.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.3312, allocations: 0.7001 MB / 0.5006 GB, free: 14.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.295e-05/0.3312, allocations: 4.188 kB / 0.5006 GB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.3313, allocations: 7.438 kB / 0.5006 GB, free: 14.48 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3313, allocations: 0 / 0.5006 GB, free: 14.48 MB / 362.7 MB Notification: Performance of Templates: time 0.002424/0.3337, allocations: 491.8 kB / 0.5011 GB, free: 14 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches