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.0009684/0.0009684, allocations: 173.2 kB / 16.45 MB, free: 5.684 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.565/1.565, allocations: 205.4 MB / 222.6 MB, free: 9.098 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.0006735/0.0006735, allocations: 95.45 kB / 270.9 MB, free: 8.344 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.06938/0.06938, allocations: 12.59 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.0003931, allocations: 24 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07723/0.07763, allocations: 50.37 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample): time 0.00145/0.07913, allocations: 1.389 MB / 444.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006009/0.07975, allocations: 0.5 MB / 444.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.771e-05/0.07984, allocations: 7.938 kB / 444.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.07987, allocations: 7.922 kB / 444.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.228e-05/0.07995, allocations: 7.938 kB / 444.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.08019, allocations: 43.83 kB / 445 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.818e-05/0.08028, allocations: 63.8 kB / 445 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.08038, allocations: 35.89 kB / 445.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.472e-05/0.08045, allocations: 19.88 kB / 445.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.792e-05/0.08052, allocations: 27.86 kB / 445.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.08054, allocations: 0 / 445.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.08056, allocations: 0 / 445.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.08058, allocations: 15.91 kB / 445.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.0806, allocations: 37.64 kB / 445.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.284e-05/0.08067, allocations: 40.2 kB / 445.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.08068, allocations: 0 / 445.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.08069, allocations: 0 / 445.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.0807, allocations: 0 / 445.2 MB, free: 13.58 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.0003619/0.08106, allocations: 386.9 kB / 445.6 MB, free: 13.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.0811, allocations: 12.03 kB / 445.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.08114, allocations: 7.906 kB / 445.6 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.08131, allocations: 206.7 kB / 445.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.08132, allocations: 8 kB / 445.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.08134, allocations: 8 kB / 445.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.08165, allocations: 186.6 kB / 446 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.08167, allocations: 0 / 446 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.08168, allocations: 4 kB / 446 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.08169, allocations: 4 kB / 446 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.0818, allocations: 47.91 kB / 446.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.08208, allocations: 291.4 kB / 446.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.08231, allocations: 203.6 kB / 446.6 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.781e-05/0.08241, allocations: 63.48 kB / 446.6 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.08244, allocations: 11.98 kB / 446.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.08246, allocations: 34.5 kB / 446.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.08247, allocations: 4 kB / 446.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.000295/0.08277, allocations: 141.7 kB / 446.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.08282, allocations: 136.5 kB / 446.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.465e-05/0.08291, allocations: 137 kB / 447.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.08292, allocations: 25.7 kB / 447.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.08296, allocations: 100 kB / 447.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.08298, allocations: 3.938 kB / 447.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.08299, allocations: 4 kB / 447.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.872e-05/0.08305, allocations: 330.8 kB / 447.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.912e-05/0.0831, allocations: 15.98 kB / 447.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.082e-05/0.08317, allocations: 89.31 kB / 447.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.875e-05/0.08323, allocations: 31.98 kB / 447.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.08324, allocations: 4 kB / 447.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001926/0.08344, allocations: 121.3 kB / 447.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.08346, allocations: 4 kB / 447.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.08347, allocations: 4.344 kB / 447.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.08349, allocations: 8 kB / 447.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.947e-05/0.08359, allocations: 27.92 kB / 447.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.0836, allocations: 0 / 447.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.09e-05/0.08367, allocations: 15.91 kB / 447.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.08368, allocations: 4 kB / 447.8 MB, free: 10.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/0.08375, allocations: 125.6 kB / 448 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.08386, allocations: 93.52 kB / 448.1 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.0839, allocations: 16.34 kB / 448.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.08391, allocations: 3.938 kB / 448.1 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.08392, allocations: 0 / 448.1 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.08393, allocations: 12.16 kB / 448.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.08405, allocations: 185.5 kB / 448.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.08406, allocations: 0 / 448.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.742e-05/0.08415, allocations: 23.97 kB / 448.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.08417, allocations: 4 kB / 448.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.08418, allocations: 320 / 448.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.08419, allocations: 4 kB / 448.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.08419, allocations: 4 kB / 448.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.08438, allocations: 233.8 kB / 448.5 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.08441, allocations: 85.02 kB / 448.6 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.08444, allocations: 8 kB / 448.6 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.08452, allocations: 11.98 kB / 448.6 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.08455, allocations: 0 / 448.6 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.08456, allocations: 4 kB / 448.6 MB, free: 9.695 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.742e-05/0.0846, allocations: 105.7 kB / 448.7 MB, free: 9.594 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08461, allocations: 0 / 448.7 MB, free: 9.594 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.08484, allocations: 16 kB / 448.8 MB, free: 9.578 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * 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.009e-05/0.08491, allocations: 95.19 kB / 448.9 MB, free: 9.477 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.08509, allocations: 71.91 kB / 448.9 MB, free: 9.406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.0851, allocations: 0 / 448.9 MB, free: 9.406 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.556e-05/0.08515, allocations: 15.92 kB / 448.9 MB, free: 9.391 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.08555, allocations: 60.69 kB / 449 MB, free: 9.332 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.08588, allocations: 265.7 kB / 449.3 MB, free: 9.031 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.086, allocations: 0.7043 MB / 450 MB, free: 8.301 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.08604, allocations: 11.44 kB / 450 MB, free: 8.289 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.08604, allocations: 4 kB / 450 MB, free: 8.285 MB / 298.7 MB Notification: Performance of Templates: time 0.002075/0.08812, allocations: 1.195 MB / 451.2 MB, free: 7.09 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)