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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007081/0.0007081, allocations: 103 kB / 16.07 MB, free: 32 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.0007209/0.0007209, allocations: 181.8 kB / 16.96 MB, free: 6.879 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.205/1.205, allocations: 205.4 MB / 223.1 MB, free: 5.727 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.06295/0.06295, allocations: 12.6 MB / 284 MB, free: 8.82 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.0006575/0.0006572, allocations: 20.94 kB / 345.2 MB, free: 20.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09302/0.09369, allocations: 50.39 MB / 395.5 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler): time 0.001734/0.09547, allocations: 1.483 MB / 397 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006759/0.09616, allocations: 0.5191 MB / 397.6 MB, free: 444 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.717e-05/0.09624, allocations: 8 kB / 397.6 MB, free: 436 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.09637, allocations: 15.86 kB / 397.6 MB, free: 420 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.282e-05/0.09643, allocations: 11.92 kB / 397.6 MB, free: 408 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.09677, allocations: 63.75 kB / 397.6 MB, free: 344 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.09693, allocations: 115.6 kB / 397.8 MB, free: 228 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.09712, allocations: 81.3 kB / 397.8 MB, free: 148 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.09724, allocations: 35.84 kB / 397.9 MB, free: 112 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.703e-05/0.09733, allocations: 47.7 kB / 397.9 MB, free: 64 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.09736, allocations: 4 kB / 397.9 MB, free: 60 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.678e-05/0.09739, allocations: 4 kB / 397.9 MB, free: 56 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.09746, allocations: 31.86 kB / 398 MB, free: 24 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.022e-05/0.09755, allocations: 73.39 kB / 398 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.09771, allocations: 123.7 kB / 398.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.09772, allocations: 0 / 398.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.09773, allocations: 0 / 398.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.09774, allocations: 0 / 398.2 MB, free: 15.82 MB / 302.1 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.0006587/0.09841, allocations: 423 kB / 398.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.09846, allocations: 12.03 kB / 398.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.09851, allocations: 20.69 kB / 398.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.09874, allocations: 224 kB / 398.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.09876, allocations: 8.375 kB / 398.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.09879, allocations: 16.36 kB / 398.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/0.09934, allocations: 358.6 kB / 399.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.09936, allocations: 4 kB / 399.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.09938, allocations: 4 kB / 399.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.09941, allocations: 4 kB / 399.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.09964, allocations: 123.8 kB / 399.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/0.1002, allocations: 462.4 kB / 399.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.1006, allocations: 254.4 kB / 400 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.1008, allocations: 127.4 kB / 400.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1008, allocations: 8.219 kB / 400.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1008, allocations: 42.5 kB / 400.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/0.1008, allocations: 0 / 400.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005448/0.1014, allocations: 289.6 kB / 400.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.1015, allocations: 137 kB / 400.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1016, allocations: 154.2 kB / 400.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1016, allocations: 29.7 kB / 400.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.1017, allocations: 104 kB / 400.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.1017, allocations: 15.89 kB / 400.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.1017, allocations: 21.78 kB / 400.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.185e-05/0.1018, allocations: 326.8 kB / 401.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.487e-05/0.1019, allocations: 39.97 kB / 401.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.1021, allocations: 158.5 kB / 401.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.1023, allocations: 211.2 kB / 401.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1024, allocations: 0 / 401.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003174/0.1027, allocations: 217 kB / 401.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1027, allocations: 4 kB / 401.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.1027, allocations: 7.938 kB / 401.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1027, allocations: 12.55 kB / 401.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1029, allocations: 43.92 kB / 401.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1029, allocations: 8 kB / 401.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.308e-05/0.103, allocations: 23.83 kB / 402 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.103, allocations: 8 kB / 402 MB, free: 11.59 MB / 302.1 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 0.0001015/0.1031, allocations: 145.7 kB / 402.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.1033, allocations: 173.5 kB / 402.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/0.1034, allocations: 20.78 kB / 402.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.1034, allocations: 8.031 kB / 402.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.1034, allocations: 0 / 402.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1034, allocations: 0 / 402.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.1037, allocations: 213.5 kB / 402.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.1037, allocations: 4 kB / 402.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.1038, allocations: 27.98 kB / 402.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.1038, allocations: 7.984 kB / 402.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.1038, allocations: 7.875 kB / 402.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.1039, allocations: 7.938 kB / 402.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1039, allocations: 0 / 402.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.1043, allocations: 396.2 kB / 403 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.1043, allocations: 96.94 kB / 403.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.1043, allocations: 7.938 kB / 403.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.1045, allocations: 8 kB / 403.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.1045, allocations: 3.984 kB / 403.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.1045, allocations: 8 kB / 403.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.896e-05/0.1046, allocations: 115.2 kB / 403.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1046, allocations: 0 / 403.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.1049, allocations: 24 kB / 403.2 MB, free: 10.23 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 (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 8.435e-05/0.105, allocations: 99.25 kB / 403.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002952/0.1053, allocations: 160.7 kB / 403.5 MB, free: 9.965 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1053, allocations: 0 / 403.5 MB, free: 9.965 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.749e-05/0.1054, allocations: 19.98 kB / 403.5 MB, free: 9.945 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.1059, allocations: 111.9 kB / 403.6 MB, free: 9.836 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/0.1065, allocations: 414.8 kB / 404 MB, free: 9.398 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.1068, allocations: 0.7438 MB / 404.7 MB, free: 8.629 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.049e-05/0.1068, allocations: 24.98 kB / 404.8 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.1069, allocations: 15.44 kB / 404.8 MB, free: 8.59 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1069, allocations: 0 / 404.8 MB, free: 8.59 MB / 302.1 MB Notification: Performance of Templates: time 0.003183/0.1101, allocations: 1.199 MB / 406 MB, free: 7.391 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: