Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.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.WorkInProgress.Tests.TestBackSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009391/0.0009391, allocations: 176.2 kB / 16.78 MB, free: 5.039 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.299/1.299, allocations: 205 MB / 222.6 MB, free: 9.148 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.0007372/0.0007372, allocations: 90.36 kB / 270.5 MB, free: 8.668 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.06797/0.06797, allocations: 12.56 MB / 331 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003413, allocations: 8.281 kB / 391.7 MB, free: 66.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07137/0.07173, allocations: 49.99 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample): time 0.001938/0.07371, allocations: 1.428 MB / 443.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007336/0.07447, allocations: 0.5113 MB / 443.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.07462, allocations: 4 kB / 443.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.189e-05/0.07467, allocations: 3.938 kB / 443.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.65e-05/0.07476, allocations: 11.88 kB / 443.7 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.07505, allocations: 43.94 kB / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.197e-05/0.07515, allocations: 71.72 kB / 443.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.07527, allocations: 20 kB / 443.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.603e-05/0.07536, allocations: 31.8 kB / 443.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.07543, allocations: 31.84 kB / 443.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.617e-05/0.07548, allocations: 4 kB / 443.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.0755, allocations: 0 / 443.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.07552, allocations: 11.92 kB / 443.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.07557, allocations: 31.75 kB / 443.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.748e-05/0.07566, allocations: 59.94 kB / 444 MB, free: 14.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.07567, allocations: 4 kB / 444 MB, free: 14.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.07568, allocations: 0 / 444 MB, free: 14.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.07569, allocations: 0 / 444 MB, free: 14.11 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004011/0.0761, allocations: 379.2 kB / 444.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.07614, allocations: 12.03 kB / 444.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.07619, allocations: 8.844 kB / 444.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.07636, allocations: 212.9 kB / 444.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.07638, allocations: 4.375 kB / 444.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.0764, allocations: 8.375 kB / 444.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.07671, allocations: 183 kB / 444.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.07673, allocations: 0 / 444.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.07675, allocations: 0 / 444.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.07676, allocations: 7.938 kB / 444.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.07687, allocations: 47.91 kB / 444.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002708/0.07715, allocations: 291.4 kB / 445.1 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.07738, allocations: 203.6 kB / 445.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.51e-05/0.07748, allocations: 71.41 kB / 445.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.07751, allocations: 4 kB / 445.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.07753, allocations: 38.56 kB / 445.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.853e-06/0.07754, allocations: 3.984 kB / 445.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003095/0.07785, allocations: 141.4 kB / 445.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.07789, allocations: 144.7 kB / 445.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.521e-05/0.07797, allocations: 127.7 kB / 445.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.07799, allocations: 29.7 kB / 445.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.07803, allocations: 96.12 kB / 445.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.07805, allocations: 7.844 kB / 445.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.07808, allocations: 17.72 kB / 446 MB, free: 11.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.4e-05/0.07814, allocations: 322.8 kB / 446.3 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.613e-05/0.07819, allocations: 23.98 kB / 446.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.279e-05/0.07826, allocations: 85.38 kB / 446.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.07838, allocations: 113.2 kB / 446.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.07839, allocations: 0 / 446.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001942/0.07859, allocations: 129.5 kB / 446.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.07862, allocations: 8 kB / 446.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.07863, allocations: 3.984 kB / 446.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.07865, allocations: 4 kB / 446.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.129e-05/0.07875, allocations: 23.98 kB / 446.7 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.07876, allocations: 3.938 kB / 446.7 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.997e-05/0.07883, allocations: 15.98 kB / 446.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.07884, allocations: 4.156 kB / 446.7 MB, free: 11.01 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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 6.304e-05/0.07891, allocations: 125.8 kB / 446.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.07895, allocations: 7.906 kB / 446.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.07899, allocations: 16.31 kB / 446.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.079, allocations: 3.984 kB / 446.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.079, allocations: 0 / 446.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.07903, allocations: 92.86 kB / 446.9 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.07906, allocations: 4.25 kB / 446.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-05/0.07914, allocations: 12 kB / 446.9 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.07918, allocations: 15.81 kB / 447 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002241/0.07941, allocations: 422.7 kB / 447.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002468/0.07966, allocations: 0.4966 MB / 447.9 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.8e-05/0.07974, allocations: 43.97 kB / 447.9 MB, free: 9.727 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.75e-05/0.07979, allocations: 109.9 kB / 448 MB, free: 9.621 MB / 298.7 MB Notification: Performance of Backend: time 2.21e-07/0.0798, allocations: 0 / 448 MB, free: 9.621 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005377/0.08034, allocations: 122.2 kB / 448.1 MB, free: 9.496 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004616/0.08081, allocations: 0.6701 MB / 448.8 MB, free: 8.777 MB / 298.7 MB Notification: Performance of Templates: time 0.002755/0.08358, allocations: 0.915 MB / 449.7 MB, free: 7.863 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe 2>&1)