Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009432/0.0009432, allocations: 176.5 kB / 16.78 MB, free: 5.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205 MB / 222.6 MB, free: 9.145 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.001005/0.001005, allocations: 102.2 kB / 270.5 MB, free: 8.664 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.06459/0.06459, allocations: 12.55 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004563/0.0004563, allocations: 8.328 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06651/0.06698, allocations: 49.98 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample): time 0.001572/0.06859, allocations: 1.305 MB / 443 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000718/0.06934, allocations: 0.4957 MB / 443.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.06946, allocations: 4 kB / 443.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.268e-05/0.06953, allocations: 3.938 kB / 443.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.06966, allocations: 19.92 kB / 443.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.06989, allocations: 35.91 kB / 443.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.944e-05/0.06996, allocations: 47.8 kB / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.725e-05/0.07005, allocations: 16.16 kB / 443.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.567e-05/0.07011, allocations: 19.92 kB / 443.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.96e-05/0.07015, allocations: 15.88 kB / 443.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.07018, allocations: 4 kB / 443.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.0702, allocations: 0 / 443.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.07024, allocations: 19.92 kB / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.07027, allocations: 23.8 kB / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.543e-05/0.07034, allocations: 43.81 kB / 443.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.07035, allocations: 0 / 443.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.07036, allocations: 3.938 kB / 443.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.896e-06/0.07037, allocations: 0 / 443.8 MB, free: 14.31 MB / 298.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.0003115/0.07068, allocations: 371.4 kB / 444.1 MB, free: 13.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.07072, allocations: 15.97 kB / 444.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.07076, allocations: 16.83 kB / 444.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.07089, allocations: 196.1 kB / 444.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.07091, allocations: 4.375 kB / 444.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.07093, allocations: 4.375 kB / 444.3 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.07115, allocations: 122 kB / 444.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.07117, allocations: 0 / 444.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.07119, allocations: 4 kB / 444.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.0712, allocations: 4 kB / 444.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.736e-05/0.07128, allocations: 27.92 kB / 444.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002604/0.07155, allocations: 274.6 kB / 444.8 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.514e-05/0.07165, allocations: 63.8 kB / 444.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/0.07171, allocations: 38.62 kB / 444.9 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.07174, allocations: 4 kB / 444.9 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.07177, allocations: 38.5 kB / 444.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.07177, allocations: 3.938 kB / 444.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002412/0.07202, allocations: 93.69 kB / 445 MB, free: 12.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.07205, allocations: 106.8 kB / 445.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.07216, allocations: 141.5 kB / 445.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.07218, allocations: 25.7 kB / 445.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.07221, allocations: 96.12 kB / 445.4 MB, free: 12.44 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.197e-05/0.07223, allocations: 7.891 kB / 445.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.07225, allocations: 9.906 kB / 445.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.74e-05/0.0723, allocations: 326.8 kB / 445.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.874e-05/0.07234, allocations: 11.94 kB / 445.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.849e-05/0.07239, allocations: 35.42 kB / 445.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.473e-05/0.07247, allocations: 55.3 kB / 445.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.07248, allocations: 4 kB / 445.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000115/0.0726, allocations: 77.61 kB / 445.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.07262, allocations: 8 kB / 445.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.07262, allocations: 0 / 445.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.07264, allocations: 0 / 445.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.07271, allocations: 8 kB / 445.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.07273, allocations: 4 kB / 445.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.115e-05/0.07277, allocations: 7.984 kB / 445.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.07279, allocations: 0 / 445.9 MB, free: 11.85 MB / 298.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 () * 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 5.071e-05/0.07284, allocations: 130.6 kB / 446 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.07288, allocations: 7.906 kB / 446 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.07291, allocations: 15.81 kB / 446.1 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.07292, allocations: 4 kB / 446.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.07292, allocations: 0 / 446.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.07296, allocations: 93 kB / 446.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.07298, allocations: 0 / 446.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.07305, allocations: 4 kB / 446.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.07309, allocations: 7.938 kB / 446.2 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001565/0.07325, allocations: 307.4 kB / 446.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001501/0.07341, allocations: 401.3 kB / 446.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.605e-05/0.07346, allocations: 15.98 kB / 446.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.288e-05/0.07351, allocations: 107.3 kB / 447 MB, free: 10.72 MB / 298.7 MB Notification: Performance of Backend: time 2.2e-07/0.07352, allocations: 0 / 447 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004272/0.07395, allocations: 98.33 kB / 447.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004957/0.07446, allocations: 0.6461 MB / 447.7 MB, free: 9.93 MB / 298.7 MB Notification: Performance of Templates: time 0.002093/0.07657, allocations: 0.5783 MB / 448.3 MB, free: 9.355 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe 2>&1)