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.0008759/0.000876, allocations: 175.8 kB / 16.77 MB, free: 5.047 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.389/1.389, 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.0006944/0.0006944, allocations: 93.62 kB / 270.5 MB, free: 8.676 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.06398/0.06398, allocations: 12.56 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003336, allocations: 16 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06573/0.06608, allocations: 49.98 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample): time 0.001479/0.0676, allocations: 1.298 MB / 443 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007234/0.06835, allocations: 0.5269 MB / 443.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.956e-05/0.06847, allocations: 0 / 443.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.666e-05/0.06855, allocations: 3.938 kB / 443.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.06868, allocations: 11.92 kB / 443.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.06897, allocations: 47.89 kB / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.82e-05/0.06907, allocations: 47.8 kB / 443.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.06918, allocations: 20.16 kB / 443.7 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.707e-05/0.06925, allocations: 15.94 kB / 443.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.056e-05/0.06931, allocations: 15.86 kB / 443.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.06933, allocations: 0 / 443.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.06935, allocations: 4 kB / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.06941, allocations: 19.92 kB / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.06944, allocations: 23.8 kB / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.472e-05/0.06952, allocations: 47.75 kB / 443.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.06953, allocations: 0 / 443.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.06954, allocations: 3.938 kB / 443.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.06955, allocations: 0 / 443.8 MB, free: 14.29 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.0003548/0.06991, allocations: 371.4 kB / 444.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.06995, allocations: 8.031 kB / 444.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.06999, allocations: 12.84 kB / 444.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.07014, allocations: 196.1 kB / 444.4 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.07016, allocations: 8.375 kB / 444.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.07017, allocations: 384 / 444.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.07039, allocations: 114 kB / 444.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.07041, allocations: 4 kB / 444.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.07042, allocations: 8 kB / 444.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.07043, allocations: 0 / 444.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.651e-05/0.07051, allocations: 31.91 kB / 444.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.07074, allocations: 274.6 kB / 444.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.412e-05/0.07084, allocations: 71.78 kB / 444.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.0709, allocations: 42.56 kB / 444.9 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.07093, allocations: 0 / 444.9 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.318e-05/0.07095, allocations: 34.56 kB / 444.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.07095, allocations: 0 / 444.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002478/0.0712, allocations: 93.86 kB / 445 MB, free: 12.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.07124, allocations: 110.7 kB / 445.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.17e-05/0.07134, allocations: 145.5 kB / 445.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.07136, allocations: 29.7 kB / 445.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.07139, allocations: 88.14 kB / 445.4 MB, free: 12.42 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.07141, allocations: 7.891 kB / 445.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/0.07144, allocations: 13.72 kB / 445.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.584e-05/0.07149, allocations: 314.8 kB / 445.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.949e-05/0.07154, allocations: 16.02 kB / 445.7 MB, free: 12.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.07158, allocations: 35.42 kB / 445.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.78e-05/0.07167, allocations: 59.3 kB / 445.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.07168, allocations: 0 / 445.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001195/0.0718, allocations: 73.53 kB / 445.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.07182, allocations: 4.125 kB / 445.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.07183, allocations: 4 kB / 445.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.07185, allocations: 4 kB / 445.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.936e-05/0.07192, allocations: 15.92 kB / 445.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.07194, allocations: 0 / 445.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.064e-05/0.07198, allocations: 4 kB / 445.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.07199, allocations: 4 kB / 445.9 MB, free: 11.83 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.145e-05/0.07205, allocations: 122.6 kB / 446.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.07208, allocations: 7.906 kB / 446.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.07212, allocations: 19.83 kB / 446.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.07212, allocations: 0 / 446.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.07213, allocations: 0 / 446.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.07217, allocations: 93 kB / 446.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.07219, allocations: 7.984 kB / 446.2 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.07227, allocations: 4 kB / 446.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.0723, allocations: 3.938 kB / 446.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001586/0.07246, allocations: 307.4 kB / 446.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001621/0.07264, allocations: 405.3 kB / 446.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.839e-05/0.0727, allocations: 16 kB / 446.9 MB, free: 10.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.32e-05/0.07275, allocations: 107.2 kB / 447 MB, free: 10.71 MB / 298.7 MB Notification: Performance of Backend: time 3.61e-07/0.07275, allocations: 0 / 447 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004301/0.07319, allocations: 98.33 kB / 447.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004157/0.07361, allocations: 0.6459 MB / 447.8 MB, free: 9.914 MB / 298.7 MB Notification: Performance of Templates: time 0.002178/0.07581, allocations: 0.5697 MB / 448.3 MB, free: 9.348 MB / 298.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)