Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 112.7 kB / 17.75 MB, free: 5.305 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.00129/0.00129, allocations: 183 kB / 18.68 MB, free: 4.379 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.518/1.518, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 51.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.422, allocations: 49.44 MB / 401.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003507/0.4256, allocations: 1.588 MB / 403 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.4267, allocations: 0.4986 MB / 403.5 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.4268, allocations: 4 kB / 403.5 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.537e-05/0.4269, allocations: 3.938 kB / 403.5 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.4271, allocations: 11.86 kB / 403.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.4274, allocations: 51.83 kB / 403.6 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.4276, allocations: 47.8 kB / 403.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.4277, allocations: 20.16 kB / 403.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.4278, allocations: 19.92 kB / 403.7 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.239e-05/0.4279, allocations: 27.86 kB / 403.7 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.428, allocations: 4 kB / 403.7 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.128e-05/0.428, allocations: 0 / 403.7 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.953e-05/0.4281, allocations: 11.94 kB / 403.7 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.4282, allocations: 31.78 kB / 403.7 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.4285, allocations: 55.64 kB / 403.8 MB, free: 6.656 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4285, allocations: 0 / 403.8 MB, free: 6.656 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4285, allocations: 4 kB / 403.8 MB, free: 6.652 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.4285, allocations: 0 / 403.8 MB, free: 6.652 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006966/0.4292, allocations: 383.1 kB / 404.2 MB, free: 6.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.4293, allocations: 11.89 kB / 404.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.4293, allocations: 8.891 kB / 404.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.4297, allocations: 208.1 kB / 404.4 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.4297, allocations: 384 / 404.4 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.4297, allocations: 4.375 kB / 404.4 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.4301, allocations: 122 kB / 404.5 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4301, allocations: 0 / 404.5 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.4301, allocations: 4 kB / 404.5 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.4301, allocations: 0 / 404.5 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.695e-05/0.4302, allocations: 23.92 kB / 404.5 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.4306, allocations: 278.5 kB / 404.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.4308, allocations: 63.86 kB / 404.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.661e-05/0.4309, allocations: 42.56 kB / 404.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.4309, allocations: 0 / 404.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.4309, allocations: 30.56 kB / 404.9 MB, free: 5.289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.47e-05/0.4309, allocations: 4 kB / 405 MB, free: 5.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002821/0.4312, allocations: 89.67 kB / 405 MB, free: 5.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.4313, allocations: 110.8 kB / 405.1 MB, free: 5.059 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.4316, allocations: 137.8 kB / 405.3 MB, free: 4.914 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.4316, allocations: 25.7 kB / 405.3 MB, free: 4.883 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.4317, allocations: 92.12 kB / 405.4 MB, free: 4.789 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.4318, allocations: 7.938 kB / 405.4 MB, free: 4.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.4318, allocations: 17.72 kB / 405.4 MB, free: 4.758 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.432, allocations: 327 kB / 405.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-05/0.432, allocations: 4 kB / 405.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.257e-05/0.4321, allocations: 35.42 kB / 405.8 MB, free: 4.379 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.4322, allocations: 55.3 kB / 405.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4322, allocations: 0 / 405.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001403/0.4324, allocations: 73.56 kB / 405.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4324, allocations: 8 kB / 405.9 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4324, allocations: 0 / 405.9 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4324, allocations: 0 / 405.9 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-05/0.4325, allocations: 11.94 kB / 405.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.4325, allocations: 12.11 kB / 405.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.196e-05/0.4326, allocations: 0 / 405.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.4326, allocations: 4 kB / 405.9 MB, free: 4.199 MB / 318.1 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 0.0001667/0.4328, allocations: 121.7 kB / 406.1 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.4328, allocations: 7.953 kB / 406.1 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.4329, allocations: 15.86 kB / 406.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4329, allocations: 0 / 406.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4329, allocations: 0 / 406.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/0.433, allocations: 101.1 kB / 406.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.433, allocations: 4 kB / 406.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.4331, allocations: 4 kB / 406.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.4331, allocations: 11.86 kB / 406.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002593/0.4334, allocations: 295.5 kB / 406.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004394/0.4338, allocations: 397.4 kB / 406.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.453e-05/0.4339, allocations: 15.98 kB / 406.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.434, allocations: 114 kB / 407 MB, free: 3.078 MB / 318.1 MB Notification: Performance of Backend: time 3.2e-07/0.434, allocations: 0 / 407 MB, free: 3.078 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005808/0.4346, allocations: 98.33 kB / 407.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of SimCode: time 0.0006726/0.4353, allocations: 0.6165 MB / 407.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of Templates: time 0.003274/0.4386, allocations: 0.6327 MB / 408.4 MB, free: 1.688 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1)