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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006918/0.000692, allocations: 96.94 kB / 16.06 MB, free: 36 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007282/0.0007284, allocations: 186 kB / 16.96 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.212/1.212, allocations: 205.4 MB / 223.2 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06573/0.06573, allocations: 12.61 MB / 284 MB, free: 8.586 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00067/0.0006701, allocations: 20 kB / 345.2 MB, free: 20.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07732/0.078, allocations: 50.38 MB / 395.5 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample): time 0.001715/0.07975, allocations: 1.409 MB / 397 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007228/0.08049, allocations: 0.5153 MB / 397.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.349e-05/0.0806, allocations: 0 / 397.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.93e-05/0.08063, allocations: 3.938 kB / 397.5 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.856e-05/0.08071, allocations: 23.84 kB / 397.5 MB, free: 480 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.08098, allocations: 43.91 kB / 397.5 MB, free: 436 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.691e-05/0.08109, allocations: 67.78 kB / 397.6 MB, free: 368 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.08121, allocations: 23.98 kB / 397.6 MB, free: 344 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.862e-05/0.08129, allocations: 31.78 kB / 397.7 MB, free: 312 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.229e-05/0.08136, allocations: 27.86 kB / 397.7 MB, free: 284 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.08138, allocations: 0 / 397.7 MB, free: 284 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.0814, allocations: 4 kB / 397.7 MB, free: 280 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.08142, allocations: 7.938 kB / 397.7 MB, free: 272 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.08147, allocations: 57.44 kB / 397.8 MB, free: 208 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.096e-05/0.08157, allocations: 67.94 kB / 397.8 MB, free: 140 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.08158, allocations: 0 / 397.8 MB, free: 140 kB / 286.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.08158, allocations: 0 / 397.8 MB, free: 140 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.257e-06/0.08159, allocations: 0 / 397.8 MB, free: 140 kB / 286.1 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.0004693/0.08206, allocations: 379.2 kB / 398.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.08211, allocations: 8.031 kB / 398.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.08215, allocations: 16.78 kB / 398.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.08236, allocations: 209.3 kB / 398.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.08237, allocations: 4.375 kB / 398.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.08239, allocations: 8.375 kB / 398.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.08273, allocations: 186.9 kB / 398.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.08275, allocations: 0 / 398.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.08276, allocations: 0 / 398.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.08277, allocations: 0 / 398.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.08289, allocations: 43.91 kB / 398.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.08318, allocations: 299.3 kB / 398.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.08343, allocations: 211.5 kB / 399.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.961e-05/0.08354, allocations: 67.47 kB / 399.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.08357, allocations: 0 / 399.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.0836, allocations: 46.5 kB / 399.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 9.21e-07/0.08361, allocations: 3.938 kB / 399.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003035/0.08392, allocations: 137.7 kB / 399.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/0.084, allocations: 148.7 kB / 399.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.166e-05/0.0841, allocations: 133 kB / 399.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.08412, allocations: 25.7 kB / 399.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.08417, allocations: 92.14 kB / 399.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.08419, allocations: 19.83 kB / 399.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.08422, allocations: 9.719 kB / 399.8 MB, free: 13.83 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.08434, allocations: 330.8 kB / 400.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.93e-05/0.0844, allocations: 16 kB / 400.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.107e-05/0.08448, allocations: 85.42 kB / 400.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.08463, allocations: 117.2 kB / 400.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.08464, allocations: 0 / 400.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001935/0.08484, allocations: 121.4 kB / 400.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.08486, allocations: 8 kB / 400.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.08487, allocations: 0 / 400.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.08489, allocations: 4 kB / 400.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.348e-05/0.08499, allocations: 31.92 kB / 400.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.08501, allocations: 4 kB / 400.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.644e-05/0.08507, allocations: 4 kB / 400.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.08509, allocations: 8.312 kB / 400.5 MB, free: 13.03 MB / 302.1 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 8.735e-05/0.08518, allocations: 129.7 kB / 400.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.08531, allocations: 89.52 kB / 400.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.08535, allocations: 12.31 kB / 400.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.08536, allocations: 4 kB / 400.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.08537, allocations: 0 / 400.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.08538, allocations: 3.984 kB / 400.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.08556, allocations: 193.4 kB / 401 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.08557, allocations: 0 / 401 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.43e-05/0.08566, allocations: 28.33 kB / 401 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.08567, allocations: 0 / 401 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.08569, allocations: 15.94 kB / 401 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.0857, allocations: 3.938 kB / 401 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.0857, allocations: 0 / 401 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.08592, allocations: 225.9 kB / 401.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.08597, allocations: 89.02 kB / 401.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.08599, allocations: 0 / 401.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.08607, allocations: 7.984 kB / 401.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.0861, allocations: 4 kB / 401.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.08611, allocations: 7.938 kB / 401.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.105e-05/0.08617, allocations: 99.27 kB / 401.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.08618, allocations: 4 kB / 401.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.08642, allocations: 16 kB / 401.4 MB, free: 12.01 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.218e-05/0.0865, allocations: 91.25 kB / 401.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.08667, allocations: 80.39 kB / 401.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.08669, allocations: 4.062 kB / 401.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.775e-05/0.08673, allocations: 12 kB / 401.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.08712, allocations: 68.17 kB / 401.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.08747, allocations: 247.7 kB / 401.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.0878, allocations: 0.7004 MB / 402.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.342e-05/0.08784, allocations: 8.547 kB / 402.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.08787, allocations: 23.44 kB / 402.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.08788, allocations: 0 / 402.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of Templates: time 0.003216/0.0911, allocations: 0.911 MB / 403.6 MB, free: 9.801 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: