Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.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.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008863/0.0008865, allocations: 173.9 kB / 16.8 MB, free: 5.012 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.514/1.514, allocations: 205.4 MB / 223 MB, free: 8.926 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.0007306/0.0007304, allocations: 101.8 kB / 271.3 MB, free: 8.23 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.0913/0.0913, allocations: 12.59 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.0004072, allocations: 12.23 kB / 393.3 MB, free: 65.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09101/0.09143, allocations: 50.38 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler): time 0.001578/0.09306, allocations: 1.494 MB / 445.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006788/0.09375, allocations: 0.5153 MB / 445.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.898e-05/0.09384, allocations: 7.938 kB / 445.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.09398, allocations: 15.92 kB / 445.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.791e-05/0.09404, allocations: 7.875 kB / 445.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.09436, allocations: 67.86 kB / 445.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.09452, allocations: 103.6 kB / 445.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.09469, allocations: 85.3 kB / 446 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.355e-05/0.09478, allocations: 47.77 kB / 446 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.525e-05/0.09486, allocations: 39.72 kB / 446.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.09489, allocations: 4 kB / 446.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.704e-05/0.09492, allocations: 4 kB / 446.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.839e-05/0.09498, allocations: 31.86 kB / 446.1 MB, free: 13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.256e-05/0.09505, allocations: 77.3 kB / 446.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.09516, allocations: 96 kB / 446.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.09517, allocations: 0 / 446.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09518, allocations: 0 / 446.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.09519, allocations: 0 / 446.3 MB, free: 12.82 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005378/0.09573, allocations: 423 kB / 446.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.09578, allocations: 12.03 kB / 446.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.09582, allocations: 16.75 kB / 446.7 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.09602, allocations: 235.9 kB / 446.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.09605, allocations: 8.375 kB / 446.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.09607, allocations: 12.38 kB / 447 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006601/0.09674, allocations: 355.6 kB / 447.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.09677, allocations: 0 / 447.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.09679, allocations: 4 kB / 447.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.09682, allocations: 4 kB / 447.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.09704, allocations: 123.8 kB / 447.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004847/0.09753, allocations: 458.4 kB / 447.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/0.09791, allocations: 258.3 kB / 448.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.0981, allocations: 123.4 kB / 448.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.09813, allocations: 8.219 kB / 448.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.09816, allocations: 38.56 kB / 448.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.09817, allocations: 0 / 448.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005477/0.09872, allocations: 289.6 kB / 448.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.09879, allocations: 144.4 kB / 448.7 MB, free: 10.1 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.288e-05/0.09889, allocations: 154.2 kB / 448.9 MB, free: 9.934 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.09891, allocations: 25.7 kB / 448.9 MB, free: 9.902 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.09896, allocations: 108 kB / 449 MB, free: 9.793 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.09898, allocations: 15.89 kB / 449 MB, free: 9.777 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/0.099, allocations: 4 kB / 449 MB, free: 9.773 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.09906, allocations: 326.9 kB / 449.3 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.72e-05/0.09916, allocations: 47.91 kB / 449.4 MB, free: 9.398 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.09928, allocations: 148.4 kB / 449.5 MB, free: 9.199 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.0995, allocations: 215.2 kB / 449.7 MB, free: 8.934 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.09951, allocations: 0 / 449.7 MB, free: 8.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002912/0.0998, allocations: 213 kB / 450 MB, free: 8.719 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.09983, allocations: 8 kB / 450 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.09984, allocations: 7.938 kB / 450 MB, free: 8.703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.09986, allocations: 4 kB / 450 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.09999, allocations: 48.47 kB / 450 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1, allocations: 7.938 kB / 450 MB, free: 8.645 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-05/0.1001, allocations: 23.83 kB / 450.1 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.1001, allocations: 8 kB / 450.1 MB, free: 8.613 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * 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.568e-05/0.1002, allocations: 146.6 kB / 450.2 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.1004, allocations: 161.5 kB / 450.4 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.1005, allocations: 28.77 kB / 450.4 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.1005, allocations: 8.031 kB / 450.4 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1005, allocations: 0 / 450.4 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1005, allocations: 7.984 kB / 450.4 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.1007, allocations: 205.5 kB / 450.6 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1007, allocations: 4 kB / 450.6 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.1009, allocations: 35.92 kB / 450.6 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1009, allocations: 4 kB / 450.6 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.1009, allocations: 7.922 kB / 450.7 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1009, allocations: 4 kB / 450.7 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1009, allocations: 0 / 450.7 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.1013, allocations: 398 kB / 451.1 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.1013, allocations: 96.95 kB / 451.1 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.1013, allocations: 7.922 kB / 451.2 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.1015, allocations: 12 kB / 451.2 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.1015, allocations: 0 / 451.2 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.1015, allocations: 15.98 kB / 451.2 MB, free: 7.387 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.829e-05/0.1016, allocations: 111.2 kB / 451.3 MB, free: 7.277 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1016, allocations: 4 kB / 451.3 MB, free: 7.273 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002877/0.1019, allocations: 20 kB / 451.3 MB, free: 7.254 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 (17): * Single equations (assignments): 16 * Array equations: 1 * 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 9.444e-05/0.102, allocations: 103.2 kB / 451.4 MB, free: 7.141 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002786/0.1023, allocations: 156.7 kB / 451.6 MB, free: 6.988 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1023, allocations: 8 kB / 451.6 MB, free: 6.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.791e-05/0.1024, allocations: 23.98 kB / 451.6 MB, free: 6.957 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.1029, allocations: 106.9 kB / 451.7 MB, free: 6.855 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000547/0.1035, allocations: 440.5 kB / 452.1 MB, free: 6.387 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.1036, allocations: 0.7438 MB / 452.9 MB, free: 5.617 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.1037, allocations: 19.44 kB / 452.9 MB, free: 5.602 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.1037, allocations: 0 / 452.9 MB, free: 5.602 MB / 298.7 MB Notification: Performance of Templates: time 0.003113/0.1068, allocations: 1.722 MB / 454.6 MB, free: 3.879 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe 2>&1)