Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 191.3 kB / 7.847 MB, free: 2.504 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.179/1.179, allocations: 205.2 MB / 213.4 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009161/0.0009161, allocations: 96.06 kB / 261.5 MB, free: 13.55 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.07114/0.07114, allocations: 12.59 MB / 322 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.943e-06/6.973e-06, allocations: 4 kB / 378.4 MB, free: 75.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08623/0.08625, allocations: 50.37 MB / 428.8 MB, free: 25.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2836/0.3699, allocations: 77.46 MB / 0.4944 GB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.3702, allocations: 79.06 kB / 0.4944 GB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.004314/0.3745, allocations: 1.355 MB / 0.4958 GB, free: 11.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.3745, allocations: 3.844 kB / 0.4958 GB, free: 11.82 MB / 330.7 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.0003469/0.3749, allocations: 365 kB / 0.4961 GB, free: 11.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3749, allocations: 11.81 kB / 0.4961 GB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.375, allocations: 11.75 kB / 0.4961 GB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.3752, allocations: 199.4 kB / 0.4963 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.3752, allocations: 4.656 kB / 0.4963 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.3752, allocations: 3.875 kB / 0.4963 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001028/0.3753, allocations: 28.97 kB / 0.4964 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.3755, allocations: 117.9 kB / 0.4965 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3756, allocations: 3.938 kB / 0.4965 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3756, allocations: 0 / 0.4965 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3756, allocations: 0 / 0.4965 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.376, allocations: 366.2 kB / 0.4968 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.656e-05/0.3761, allocations: 61.06 kB / 0.4969 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.3762, allocations: 38.86 kB / 0.4969 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.3762, allocations: 0.6562 kB / 0.4969 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.3762, allocations: 31.27 kB / 0.497 GB, free: 10.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.3762, allocations: 0 / 0.497 GB, free: 10.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002044/0.3765, allocations: 73.11 kB / 0.497 GB, free: 10.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.3765, allocations: 111.4 kB / 0.4971 GB, free: 10.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.828e-05/0.3766, allocations: 130.2 kB / 0.4973 GB, free: 10.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.3766, allocations: 30.39 kB / 0.4973 GB, free: 10.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/0.3767, allocations: 88.69 kB / 0.4974 GB, free: 10.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.3767, allocations: 4.609 kB / 0.4974 GB, free: 10.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.3767, allocations: 0 / 0.4974 GB, free: 10.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.916e-05/0.3767, allocations: 320.8 kB / 0.4977 GB, free: 9.977 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/0.3768, allocations: 7.516 kB / 0.4977 GB, free: 9.977 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.914e-05/0.3768, allocations: 36.81 kB / 0.4977 GB, free: 9.941 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.718e-05/0.3768, allocations: 13.97 kB / 0.4977 GB, free: 9.941 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3768, allocations: 0 / 0.4977 GB, free: 9.941 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.942e-05/0.3769, allocations: 68.92 kB / 0.4978 GB, free: 9.902 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.377, allocations: 3.969 kB / 0.4978 GB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.377, allocations: 7.938 kB / 0.4978 GB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.377, allocations: 3.844 kB / 0.4978 GB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3771, allocations: 10.62 kB / 0.4978 GB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3771, allocations: 9.359 kB / 0.4978 GB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.3772, allocations: 9.156 kB / 0.4978 GB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.3772, allocations: 3.844 kB / 0.4978 GB, free: 9.887 MB / 330.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 4.339e-05/0.3772, allocations: 105 kB / 0.4979 GB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.3773, allocations: 51.3 kB / 0.498 GB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.3774, allocations: 13.72 kB / 0.498 GB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3774, allocations: 3.906 kB / 0.498 GB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3774, allocations: 0 / 0.498 GB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3774, allocations: 3.844 kB / 0.498 GB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.3776, allocations: 158.7 kB / 0.4982 GB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.3776, allocations: 1.406 kB / 0.4982 GB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.527e-05/0.3777, allocations: 17.94 kB / 0.4982 GB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3777, allocations: 0 / 0.4982 GB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3777, allocations: 5.109 kB / 0.4982 GB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3777, allocations: 3.938 kB / 0.4982 GB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3777, allocations: 3.906 kB / 0.4982 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000127/0.3778, allocations: 268 kB / 0.4984 GB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.3779, allocations: 104.4 kB / 0.4985 GB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.3779, allocations: 4 kB / 0.4986 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.378, allocations: 13.44 kB / 0.4986 GB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.3781, allocations: 1.5 kB / 0.4986 GB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.3781, allocations: 9.422 kB / 0.4986 GB, free: 9.203 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.075e-05/0.3782, allocations: 118.1 kB / 0.4987 GB, free: 9.121 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002521/0.3784, allocations: 7.719 kB / 0.4987 GB, free: 9.121 MB / 330.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 7.904e-05/0.3785, allocations: 99.81 kB / 0.4988 GB, free: 9.027 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.704e-05/0.3786, allocations: 25.56 kB / 0.4988 GB, free: 9.027 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3786, allocations: 3.75 kB / 0.4988 GB, free: 9.027 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.554e-05/0.3786, allocations: 12.36 kB / 0.4988 GB, free: 9.023 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.3789, allocations: 22.58 kB / 0.4989 GB, free: 9.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000284/0.3792, allocations: 136.8 kB / 0.499 GB, free: 8.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.3794, allocations: 0.7128 MB / 0.4997 GB, free: 8.203 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3794, allocations: 0 / 0.4997 GB, free: 8.203 MB / 330.7 MB Notification: Performance of Templates: time 0.002767/0.3822, allocations: 0.671 MB / 0.5003 GB, free: 8.133 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches